summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dietrich-de@nokia.com>2012-07-04 18:29:40 +0200
committerJ-P Nurmi <j-p.nurmi@nokia.com>2012-07-06 11:15:02 +0200
commitaf0fe556ead3f0321e63bdfd436f4429f65f403f (patch)
tree2b4c9cae6448489572e52ccccd339a04cf1f84a0
parentdfa5bf62b2a9e2ce202e863042bbde2927c1b1ed (diff)
downloadqtquickcontrols-af0fe556ead3f0321e63bdfd436f4429f65f403f.tar.gz
Remove unused QTopLevelWindow::sizeChanged() signal
Change-Id: Ibdb5c6b20e1c89ea24cc383ced280c5704daba01 Reviewed-by: J-P Nurmi <j-p.nurmi@nokia.com>
-rw-r--r--src/qtoplevelwindow.h1
-rw-r--r--src/qwindowitem.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/qtoplevelwindow.h b/src/qtoplevelwindow.h
index 1891bdb9..8a7dcbd8 100644
--- a/src/qtoplevelwindow.h
+++ b/src/qtoplevelwindow.h
@@ -73,7 +73,6 @@ public:
Q_SIGNALS:
void visibilityChanged();
void windowStateChanged();
- void sizeChanged(QSize newSize);
private:
QMenuBar *_menuBar;
diff --git a/src/qwindowitem.cpp b/src/qwindowitem.cpp
index 8810b0b7..f3b9a8a3 100644
--- a/src/qwindowitem.cpp
+++ b/src/qwindowitem.cpp
@@ -53,7 +53,6 @@ QWindowItem::QWindowItem()
{
connect(_window, SIGNAL(visibilityChanged()), this, SIGNAL(visibleChanged()));
connect(_window, SIGNAL(windowStateChanged()), this, SIGNAL(windowStateChanged()));
- connect(_window, SIGNAL(sizeChanged(QSize)), this, SLOT(setSize(QSize)));
connect(this, SIGNAL(xChanged()), this, SLOT(updateWindowGeometry()));
connect(this, SIGNAL(yChanged()), this, SLOT(updateWindowGeometry()));