From e00c40a89a1172add896e86e805a7cd42a4ea0c5 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 13 Apr 2012 13:18:25 -0700 Subject: Don't use QWindow::move MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's deprecated. Use QWindow::setPos instead. Change-Id: I16694d27eb583d18c9dca3ee066dbfddab1efe69 Reviewed-by: Samuel Rødal --- tools/easingcurveeditor/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/easingcurveeditor/mainwindow.cpp b/tools/easingcurveeditor/mainwindow.cpp index 569b74ae29..3bd5b3e88f 100644 --- a/tools/easingcurveeditor/mainwindow.cpp +++ b/tools/easingcurveeditor/mainwindow.cpp @@ -104,7 +104,7 @@ MainWindow::MainWindow(QWidget *parent) : void MainWindow::showQuickView() { const int margin = 16; - quickView.move(pos() + QPoint(0, frameGeometry().height() + margin)); + quickView.setPos(pos() + QPoint(0, frameGeometry().height() + margin)); quickView.raise(); quickView.show(); -- cgit v1.2.3