From b917024aa1ac4cb0a40164132db3c6d2913157eb Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 3 Jan 2019 07:41:04 +0000 Subject: 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 --- src/qmmpui/uihelper.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/qmmpui/uihelper.h') 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. */ -- cgit v1.2.3-13-gbd6f