diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2014-02-02 14:01:26 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-03 20:20:33 +0100 |
commit | 2cfc873e3402fd018d28cd66ea804866334da31c (patch) | |
tree | d53274c269074c5e7d298e5a4c9117fcf34daef7 /src/quick/items/qquickscreen.cpp | |
parent | e52fabd48fecb52c7a880991ad9fc56827fa9549 (diff) |
Normalize signal & slot signatures in connection
Profiling shows Qt Creator spends 2% of its load time normalizing
Change-Id: I58132e11ab5fc942b04925c3bcc919165784a5d1
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Diffstat (limited to 'src/quick/items/qquickscreen.cpp')
-rw-r--r-- | src/quick/items/qquickscreen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/qquickscreen.cpp b/src/quick/items/qquickscreen.cpp index 410f18e767..54c7527eec 100644 --- a/src/quick/items/qquickscreen.cpp +++ b/src/quick/items/qquickscreen.cpp @@ -323,7 +323,7 @@ void QQuickScreenAttached::screenChanged(QScreen *screen) this, SIGNAL(orientationChanged())); connect(screen, SIGNAL(primaryOrientationChanged(Qt::ScreenOrientation)), this, SIGNAL(primaryOrientationChanged())); - connect(screen, SIGNAL(virtualGeometryChanged(const QRect &)), + connect(screen, SIGNAL(virtualGeometryChanged(QRect)), this, SIGNAL(desktopGeometryChanged())); connect(screen, SIGNAL(logicalDotsPerInchChanged(qreal)), this, SIGNAL(logicalPixelDensityChanged())); |