diff options
author | Robert Griebl <robert.griebl@qt.io> | 2021-08-15 00:37:02 +0200 |
---|---|---|
committer | Robert Griebl <robert.griebl@qt.io> | 2021-08-17 18:52:39 +0200 |
commit | d7a23d6d73f00919e0225cc4759504389fbb7c86 (patch) | |
tree | 0b42c3c5993108fc49d837dd716ce5910ae1412e /examples/applicationmanager/application-features/native | |
parent | d92730320d4e6af4c7c839ff1b941870b6d5ab14 (diff) |
Clazy: fix examples
Also replaced qSL/qL1S with the original, non-macro versions.
Change-Id: Ied8f4e8ee750ce0f6b7bf7e7800608c2b39c71d1
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
Diffstat (limited to 'examples/applicationmanager/application-features/native')
-rw-r--r-- | examples/applicationmanager/application-features/native/widgets/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/applicationmanager/application-features/native/widgets/main.cpp b/examples/applicationmanager/application-features/native/widgets/main.cpp index 39872e55..2a6bf54a 100644 --- a/examples/applicationmanager/application-features/native/widgets/main.cpp +++ b/examples/applicationmanager/application-features/native/widgets/main.cpp @@ -87,7 +87,7 @@ int main(int argc, char *argv[]) popup1->setStyleSheet(QStringLiteral("QPushButton { background-color : limegreen; color : white; font-size: 24px; }")); QObject::connect(&button1, &QPushButton::clicked, [&popup1, &launcher] () { popup1->setVisible(!popup1->isVisible()); - launcher.setWindowProperty(popup1->windowHandle(), "type", QStringLiteral("pop-up")); + launcher.setWindowProperty(popup1->windowHandle(), QStringLiteral("type"), QStringLiteral("pop-up")); }); // Notification |