summaryrefslogtreecommitdiffstats
path: root/tests/manual/repaint/mainwindow
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/repaint/mainwindow')
-rw-r--r--tests/manual/repaint/mainwindow/CMakeLists.txt5
-rw-r--r--tests/manual/repaint/mainwindow/main.cpp6
2 files changed, 6 insertions, 5 deletions
diff --git a/tests/manual/repaint/mainwindow/CMakeLists.txt b/tests/manual/repaint/mainwindow/CMakeLists.txt
index f632da9827..82b0c1ccdb 100644
--- a/tests/manual/repaint/mainwindow/CMakeLists.txt
+++ b/tests/manual/repaint/mainwindow/CMakeLists.txt
@@ -1,4 +1,5 @@
-# Generated from mainwindow.pro.
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
## tst_manual_mainwindow Binary:
@@ -9,7 +10,7 @@ qt_internal_add_manual_test(tst_manual_mainwindow
SOURCES
../shared/shared.h
main.cpp
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::Gui
Qt::Widgets
)
diff --git a/tests/manual/repaint/mainwindow/main.cpp b/tests/manual/repaint/mainwindow/main.cpp
index dd60547344..ea024d22a5 100644
--- a/tests/manual/repaint/mainwindow/main.cpp
+++ b/tests/manual/repaint/mainwindow/main.cpp
@@ -1,5 +1,5 @@
// Copyright (C) 2016 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#include <QApplication>
#include <QMainWindow>
@@ -26,9 +26,9 @@ int main(int argc, char **argv)
QToolBar *toolBar = new QToolBar();
- toolBar->addWidget(new StaticWidget())->setVisible(true);;
+ toolBar->addWidget(new StaticWidget())->setVisible(true);
- toolBar->addWidget(new QSpinBox())->setVisible(true);;
+ toolBar->addWidget(new QSpinBox())->setVisible(true);
mainWindow.addToolBar(toolBar);
mainWindow.resize(600, 400);