[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdialog] src: Get rid of LLVM/Clang warning
From:       Yuri Chornoivan <null () kde ! org>
Date:       2018-09-19 19:32:03
Message-ID: E1g2iCh-00018g-4e () code ! kde ! org
[Download RAW message or body]

Git commit d8c2e4bcf2b6179985b969f1ab952859f3eedf69 by Yuri Chornoivan.
Committed on 19/09/2018 at 19:31.
Pushed by yurchor into branch 'master'.

Get rid of LLVM/Clang warning

M  +1    -1    src/kdialog.cpp

https://commits.kde.org/kdialog/d8c2e4bcf2b6179985b969f1ab952859f3eedf69

diff --git a/src/kdialog.cpp b/src/kdialog.cpp
index 316b13530..3a0d58261 100644
--- a/src/kdialog.cpp
+++ b/src/kdialog.cpp
@@ -551,7 +551,7 @@ int main(int argc, char *argv[])
                                                        title,
                                                        \
Utils::parseString(parser.value(QStringLiteral("passivepopup"))),  passiveicon,
-                                                       (QWidget*)0UL, // parent
+                                                       (QWidget*)nullptr, // parent
                                                        timeout );
         QTimer *timer = new QTimer();
         QObject::connect( timer, SIGNAL(timeout()), qApp, SLOT(quit()) );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic