diff options
Diffstat (limited to 'tests/manual/repaint/mainwindow')
-rw-r--r-- | tests/manual/repaint/mainwindow/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tests/manual/repaint/mainwindow/main.cpp | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/tests/manual/repaint/mainwindow/CMakeLists.txt b/tests/manual/repaint/mainwindow/CMakeLists.txt index c110cd8689..82b0c1ccdb 100644 --- a/tests/manual/repaint/mainwindow/CMakeLists.txt +++ b/tests/manual/repaint/mainwindow/CMakeLists.txt @@ -1,8 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -# Generated from mainwindow.pro. - ##################################################################### ## tst_manual_mainwindow Binary: ##################################################################### 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); |