summaryrefslogtreecommitdiff
path: root/src/gui/quitdialog.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-07-15 02:55:31 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-08-11 02:39:49 +0200
commit3bdb7ebbcc6f7d08ed90f2232f0901b1c0e92d51 (patch)
tree8ae4aebc00d6293edd75ba1a8e377708f25efee9 /src/gui/quitdialog.cpp
parentda2fcf682e180c69c9e36a5f581a372c9d9abc43 (diff)
downloadmana-client-3bdb7ebbcc6f7d08ed90f2232f0901b1c0e92d51.tar.gz
mana-client-3bdb7ebbcc6f7d08ed90f2232f0901b1c0e92d51.tar.bz2
mana-client-3bdb7ebbcc6f7d08ed90f2232f0901b1c0e92d51.tar.xz
mana-client-3bdb7ebbcc6f7d08ed90f2232f0901b1c0e92d51.zip
Added icons to the confirm and cancel button of the quit dialog.
This a good example of use for the new graphics and button functionalities.
Diffstat (limited to 'src/gui/quitdialog.cpp')
-rw-r--r--src/gui/quitdialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/quitdialog.cpp b/src/gui/quitdialog.cpp
index 6ecc62a6..3da07206 100644
--- a/src/gui/quitdialog.cpp
+++ b/src/gui/quitdialog.cpp
@@ -44,7 +44,9 @@ QuitDialog::QuitDialog(QuitDialog** pointerToMe):
mSwitchAccountServer = new RadioButton(_("Switch server"), "quitdialog");
mSwitchCharacter = new RadioButton(_("Switch character"), "quitdialog");
mOkButton = new Button(_("OK"), "ok", this);
+ mOkButton->setButtonIcon("button-icon-confirm.png");
mCancelButton = new Button(_("Cancel"), "cancel", this);
+ mCancelButton->setButtonIcon("button-icon-cancel.png");
addKeyListener(this);