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/templateeditor.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/templateeditor.h')
| -rw-r--r-- | src/qmmpui/templateeditor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmmpui/templateeditor.h b/src/qmmpui/templateeditor.h index 5e769f0e4..51dc453a0 100644 --- a/src/qmmpui/templateeditor.h +++ b/src/qmmpui/templateeditor.h @@ -39,7 +39,7 @@ public: * Constructor. * @param parent Parent widget. */ - explicit TemplateEditor(QWidget *parent = 0); + explicit TemplateEditor(QWidget *parent = nullptr); /*! * Returns current template from editor. */ @@ -62,7 +62,7 @@ public: * @param ok This varible will be set to \b true (\b false) if the user pressed OK (Cancel). */ static QString getTemplate (QWidget *parent, const QString &title, const QString &text = QString(), - const QString &default_template = QString(), bool *ok = 0); + const QString &default_template = QString(), bool *ok = nullptr); private slots: void on_resetButton_clicked(); |
