summaryrefslogtreecommitdiffstats
path: root/examples/widgets/desktop/systray/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/desktop/systray/window.cpp')
-rw-r--r--examples/widgets/desktop/systray/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/desktop/systray/window.cpp b/examples/widgets/desktop/systray/window.cpp
index 28287dc02b..e30166beac 100644
--- a/examples/widgets/desktop/systray/window.cpp
+++ b/examples/widgets/desktop/systray/window.cpp
@@ -177,7 +177,7 @@ void Window::showMessage()
//! [6]
void Window::messageClicked()
{
- QMessageBox::information(0, tr("Systray"),
+ QMessageBox::information(nullptr, tr("Systray"),
tr("Sorry, I already gave what help I could.\n"
"Maybe you should try asking a human?"));
}