Browse Source

remove unneeded flag from MSG_INFORMATION and fix an indentation

pull/1/head
Philip Kaufmann 10 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: @@ -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;

2
src/ui_interface.h

@ -62,7 +62,7 @@ public: @@ -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)
};

Loading…
Cancel
Save