diff options
Diffstat (limited to 'tools/easingcurveeditor/mainwindow.cpp')
-rw-r--r-- | tools/easingcurveeditor/mainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/easingcurveeditor/mainwindow.cpp b/tools/easingcurveeditor/mainwindow.cpp index c0e04e645a..7f7b2d96af 100644 --- a/tools/easingcurveeditor/mainwindow.cpp +++ b/tools/easingcurveeditor/mainwindow.cpp @@ -105,7 +105,7 @@ MainWindow::MainWindow(QWidget *parent) : void MainWindow::showQuickView() { const int margin = 16; - quickView.setPos(pos() + QPoint(0, frameGeometry().height() + margin)); + quickView.setPosition(pos() + QPoint(0, frameGeometry().height() + margin)); quickView.raise(); quickView.show(); @@ -130,7 +130,7 @@ void MainWindow::resizeEvent(QResizeEvent *event) void MainWindow::initQml() { - quickView.setWindowFlags(Qt::FramelessWindowHint); + quickView.setFlags(Qt::FramelessWindowHint); quickView.rootContext()->setContextProperty(QLatin1String("editor"), m_splineEditor); quickView.setSource(QUrl("qrc:/preview.qml")); quickView.show(); |