qt5base-lts/src
Aleix Pol d2792d2ed9 Fix screenForGeometry on a corner case
QRect only deals with integers, and I had a window set on the corner and
without a size. When this screen was created, it was reported to be on the
wrong screen, thus created there wrong.
The reason for this is that ::center is not prepared for this use.
QRect(QPoint(500,500), QSize()).center() is QRect(499, 499)

Change-Id: I24e57182f84873306f180749e96368d6da1147a9
Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
2015-11-16 16:01:03 +00:00
..
3rdparty Introduce png_dependency.pri 2015-11-13 20:42:12 +00:00
android Merge remote-tracking branch 'origin/5.5' into 5.6 2015-11-04 12:28:48 +01:00
angle Merge remote-tracking branch 'origin/5.5' into 5.6 2015-11-04 12:28:48 +01:00
concurrent QtConcurrent: Use Q_NULLPTR instead of 0 in all public headers 2015-11-04 14:17:08 +00:00
corelib Doc: Added info about sorting in QItemSelectionModel::selectedIndexes 2015-11-16 15:26:11 +00:00
dbus Doc: Update examplesinstallpath to include the repository name 2015-10-21 09:50:16 +00:00
gui Fix screenForGeometry on a corner case 2015-11-16 16:01:03 +00:00
network winrt: Clean up QNativeSocketEngine 2015-11-12 06:43:27 +00:00
opengl Doc: Update examplesinstallpath to include the repository name 2015-10-21 09:50:16 +00:00
openglextensions Fix typo when resolving EGL extension. 2015-04-23 11:54:36 +00:00
platformheaders Doc: Update examplesinstallpath to include the repository name 2015-10-21 09:50:16 +00:00
platformsupport Windows: Move GUI event dispatcher to QtPlatformSupport. 2015-11-14 18:22:01 +00:00
plugins move addition of libdl to right project 2015-11-16 14:40:27 +00:00
printsupport Doc: Update examplesinstallpath to include the repository name 2015-10-21 09:50:16 +00:00
sql Doc: corrected snippet QSqlTableModel 2015-11-16 15:25:35 +00:00
testlib Testlib: Replace linked lists in QTestTablePrivate by std::vector. 2015-11-06 18:24:24 +00:00
tools qdoc is moving back to qttools 2015-10-22 19:40:09 +00:00
widgets Doc: added specs to setHorizontalHeaderItem() 2015-11-16 15:26:04 +00:00
winmain winrt: Exit application properly 2015-10-30 21:50:43 +00:00
xml Fix QDomNamedNodeMap::item crash with negative index 2015-10-29 08:05:45 +00:00
src.pro qdoc is moving back to qttools 2015-10-22 19:40:09 +00:00