diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-01-03 07:41:04 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2019-01-03 07:41:04 +0000 |
| commit | b917024aa1ac4cb0a40164132db3c6d2913157eb (patch) | |
| tree | 4424bef9f2ac9a3dab21c822836a1b5c79ffee47 /src/qmmpui/uihelper.h | |
| parent | bef5a901922c002815d047d276e61ec0bf8c0f46 (diff) | |
| download | qmmp-b917024aa1ac4cb0a40164132db3c6d2913157eb.tar.gz qmmp-b917024aa1ac4cb0a40164132db3c6d2913157eb.tar.bz2 qmmp-b917024aa1ac4cb0a40164132db3c6d2913157eb.zip | |
fixed build with -Werror=zero-as-null-pointer-constant
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8572 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/uihelper.h')
| -rw-r--r-- | src/qmmpui/uihelper.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qmmpui/uihelper.h b/src/qmmpui/uihelper.h index 2ba17cc27..6594e1adb 100644 --- a/src/qmmpui/uihelper.h +++ b/src/qmmpui/uihelper.h @@ -49,7 +49,7 @@ public: * Object constructor, * @param parent Parent object */ - UiHelper(QObject *parent = 0); + UiHelper(QObject *parent = nullptr); /*! * Destructor */ @@ -88,14 +88,14 @@ public: * @param title Menu title. * @param parent Parent widget */ - QMenu *createMenu(MenuType type, const QString &title = QString(), QWidget *parent = 0); + QMenu *createMenu(MenuType type, const QString &title = QString(), QWidget *parent = nullptr); /*! * Registers existing menu for access from general plugins. * @param type Menu type. * @param menu Menu pointer. * @param before An action, after which the rest are added. */ - void registerMenu(MenuType type, QMenu *menu, QAction *before = 0); + void registerMenu(MenuType type, QMenu *menu, QAction *before = nullptr); /*! * Opens 'Add Files' dialog * @param parent Parent widget @@ -149,7 +149,7 @@ public: * Shows about dialog * @param parent Parent widget */ - void about(QWidget *parent = 0); + void about(QWidget *parent = nullptr); /*! * Returns a pointer to the object's instance. */ |
