diff options
| author | Philip Kaufmann <[email protected]> | 2012-12-03 13:35:14 +0100 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2012-12-04 21:35:40 +0100 |
| commit | 7f5a1b529b37c81e04ae077612e82f2ab0649bfd (patch) | |
| tree | 284f27e2ff000cee7122e5731246099efdb49e9f | |
| parent | Merge pull request #2055 from redshark1802/master (diff) | |
| download | discoin-7f5a1b529b37c81e04ae077612e82f2ab0649bfd.tar.xz discoin-7f5a1b529b37c81e04ae077612e82f2ab0649bfd.zip | |
remove unneeded flag from MSG_INFORMATION and fix an indentation
| -rw-r--r-- | src/qt/notificator.h | 8 | ||||
| -rw-r--r-- | src/ui_interface.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/qt/notificator.h b/src/qt/notificator.h index abb47109b..833b52cb1 100644 --- a/src/qt/notificator.h +++ b/src/qt/notificator.h @@ -46,11 +46,11 @@ public slots: private: QWidget *parent; enum Mode { - None, /**< Ignore informational notifications, and show a modal pop-up dialog for Critical notifications. */ - Freedesktop, /**< Use DBus org.freedesktop.Notifications */ - QSystemTray, /**< Use QSystemTray::showMessage */ + None, /**< Ignore informational notifications, and show a modal pop-up dialog for Critical notifications. */ + Freedesktop, /**< Use DBus org.freedesktop.Notifications */ + QSystemTray, /**< Use QSystemTray::showMessage */ Growl12, /**< Use the Growl 1.2 notification system (Mac only) */ - Growl13 /**< Use the Growl 1.3 notification system (Mac only) */ + Growl13 /**< Use the Growl 1.3 notification system (Mac only) */ }; QString programName; Mode mode; diff --git a/src/ui_interface.h b/src/ui_interface.h index 693411aa6..072d25079 100644 --- a/src/ui_interface.h +++ b/src/ui_interface.h @@ -62,7 +62,7 @@ public: MODAL = 0x10000000U, /** Predefined combinations for certain default usage cases */ - MSG_INFORMATION = (ICON_INFORMATION | BTN_OK), + MSG_INFORMATION = ICON_INFORMATION, MSG_WARNING = (ICON_WARNING | BTN_OK | MODAL), MSG_ERROR = (ICON_ERROR | BTN_OK | MODAL) }; |