projects
/
someplayer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Confirmation dialogs for dangerous actions
[someplayer]
/
src
/
playerform.cpp
diff --git
a/src/playerform.cpp
b/src/playerform.cpp
index
c9111a9
..
945e380
100644
(file)
--- a/
src/playerform.cpp
+++ b/
src/playerform.cpp
@@
-264,6
+264,7
@@
void PlayerForm::_custom_context_menu_requested(const QPoint &pos) {
}
void PlayerForm::_delete_track() {
+ CONFIRM_ACTION(this, tr("Delete track?"))
QList<QModelIndex> idx = ui->playlistView->selectionModel()->selectedIndexes();
if (idx.isEmpty())
return;