diff options
| author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2018-12-02 14:11:13 +0100 |
|---|---|---|
| committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-01-23 15:13:45 +0000 |
| commit | aa32510430d6a5e58cb456faeb072d9f189872fe (patch) | |
| tree | 449096e9edff2056d186e0b0d1ae19d52d21652b /examples/widgets/desktop/systray/main.cpp | |
| parent | c590aa678d5c27162b0ca7191fa76b1d3a112767 (diff) | |
Cleanup Widgets examples - nullptr
Cleanup the widgets examples - replace 0 with nullptr
Change-Id: Id4bf119b9a41f6d10117f3a613a6e604128fa196
Reviewed-by: Konstantin Shegunov <kshegunov@gmail.com>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'examples/widgets/desktop/systray/main.cpp')
| -rw-r--r-- | examples/widgets/desktop/systray/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/desktop/systray/main.cpp b/examples/widgets/desktop/systray/main.cpp index 49b0e10412d..4e3e628767f 100644 --- a/examples/widgets/desktop/systray/main.cpp +++ b/examples/widgets/desktop/systray/main.cpp @@ -62,7 +62,7 @@ int main(int argc, char *argv[]) QApplication app(argc, argv); if (!QSystemTrayIcon::isSystemTrayAvailable()) { - QMessageBox::critical(0, QObject::tr("Systray"), + QMessageBox::critical(nullptr, QObject::tr("Systray"), QObject::tr("I couldn't detect any system tray " "on this system.")); return 1; |
