Browse Source

remove unneeded flag from MSG_INFORMATION and fix an indentation

0.8
Philip Kaufmann 12 years ago
parent
commit
7f5a1b529b
  1. 8
      src/qt/notificator.h
  2. 2
      src/ui_interface.h

8
src/qt/notificator.h

@ -46,11 +46,11 @@ public slots:
private: private:
QWidget *parent; QWidget *parent;
enum Mode { enum Mode {
None, /**< Ignore informational notifications, and show a modal pop-up dialog for Critical notifications. */ None, /**< Ignore informational notifications, and show a modal pop-up dialog for Critical notifications. */
Freedesktop, /**< Use DBus org.freedesktop.Notifications */ Freedesktop, /**< Use DBus org.freedesktop.Notifications */
QSystemTray, /**< Use QSystemTray::showMessage */ QSystemTray, /**< Use QSystemTray::showMessage */
Growl12, /**< Use the Growl 1.2 notification system (Mac only) */ 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; QString programName;
Mode mode; Mode mode;

2
src/ui_interface.h

@ -62,7 +62,7 @@ public:
MODAL = 0x10000000U, MODAL = 0x10000000U,
/** Predefined combinations for certain default usage cases */ /** 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_WARNING = (ICON_WARNING | BTN_OK | MODAL),
MSG_ERROR = (ICON_ERROR | BTN_OK | MODAL) MSG_ERROR = (ICON_ERROR | BTN_OK | MODAL)
}; };

Loading…
Cancel
Save