mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-09 10:43:19 -05:00
remove unneeded flag from MSG_INFORMATION and fix an indentation
This commit is contained in:
parent
85887020dc
commit
7f5a1b529b
2 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||||
|
|
|
@ -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…
Add table
Reference in a new issue