summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/textdocument-frames/main.cpp
blob: 71c21ac803c76b80ba6d2e7a728d932ba5f7909f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include "mainwindow.h"
#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    MainWindow *window = new MainWindow;
    window->resize(480, 480);
    window->show();
    return app.exec();
}