Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
bc595bba
Commit
bc595bba
authored
Jan 10, 2013
by
Max-Wilhelm Bruker
Browse files
added missing confirmation dialogue for remote folder deletion
parent
915e809e
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/tab_deck_storage.cpp
View file @
bc595bba
...
...
@@ -306,6 +306,8 @@ void TabDeckStorage::actDeleteRemoteDeck()
QString
path
=
dir
->
getPath
();
if
(
path
.
isEmpty
())
return
;
if
(
QMessageBox
::
warning
(
this
,
tr
(
"Delete remote folder"
),
tr
(
"Are you sure you want to delete
\"
%1
\"
?"
).
arg
(
path
),
QMessageBox
::
Yes
|
QMessageBox
::
No
)
!=
QMessageBox
::
Yes
)
return
;
Command_DeckDelDir
cmd
;
cmd
.
set_path
(
path
.
toStdString
());
pend
=
client
->
prepareSessionCommand
(
cmd
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment