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
0ba351c9
Commit
0ba351c9
authored
Dec 04, 2014
by
Fabio Bas
Browse files
Add "saved" msgbox
parent
00a5ed0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/window_sets.cpp
View file @
0ba351c9
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
#include
<QHeaderView>
#include
<QHeaderView>
#include
<QPushButton>
#include
<QPushButton>
#include
<QItemSelection>
#include
<QItemSelection>
#include
<QMessageBox>
WndSets
::
WndSets
(
QWidget
*
parent
)
WndSets
::
WndSets
(
QWidget
*
parent
)
:
QMainWindow
(
parent
)
:
QMainWindow
(
parent
)
...
@@ -85,6 +86,7 @@ WndSets::~WndSets()
...
@@ -85,6 +86,7 @@ WndSets::~WndSets()
void
WndSets
::
actSave
()
void
WndSets
::
actSave
()
{
{
model
->
save
();
model
->
save
();
QMessageBox
::
information
(
this
,
tr
(
"Success"
),
tr
(
"The sets database has been saved successfully."
));
}
}
void
WndSets
::
actRestore
()
void
WndSets
::
actRestore
()
...
...
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