summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix regression in qscriptvalue_cast (primitive-->complex type cast)Kent Hansen2009-03-261-0/+28
| | | | | | | | | | | qscriptvalue_cast implementation was changed from 4.4 to 4.5 because of the introduction of QScriptValue constructors that don't take an engine pointer. However, when the old constructors are used, the behavior of qscriptvalue_cast should be as before, which this patch ensures. In short: If we have an engine pointer, use it. Task-number: 248802 Reviewed-by: Ariya Hidayat
* Fix crash when accessing newly constructed QTextObjects.Benjamin Poulain2009-03-261-0/+19
| | | | | | | | | The pieceTable member was only initialized by QTextDocumentPrivate _after_ the call to createObject. This patch initializes it at construction time. Task-number: 246138 Reviewed-by: Simon Hausmann
* Change testlib selftest targets to help autotest tools.Rohan McGovern2009-03-2633-2/+34
| | | | | | | | | | | | The testlib subtests are conceptually not standalone unit tests, rather they are helper programs for the real unit test, tst_selftests. So, as is done for other similar tests (e.g. qprocess), don't name them with `tst_'. This makes it easier for automated tools to figure out that they shouldn't directly run these tests. Reviewed-by: Shane Bradley
* Remove outdated script which can't have worked since we stopped usingRohan McGovern2009-03-251-34/+0
| | | | perforce.
* Not part of the repositoryAlessandro Portale2009-03-251-0/+0
|
* Fix assertion failure in QCompleter::setCompletionPrefix().jasplin2009-03-251-0/+33
| | | | | | | | | | | Calling setCompletionPrefix() on a QCompleter from a slot connected to the editingFinished() signal of the corresponding QLineEdit could in some cases alter the internal state of the completer in such a way that an assertion would fail. The fix prevents the asserting code from being called in this particular state. Reviewed-by: janarve Task-number: 246056
* Fix QComboBox test with vertical panelsOlivier Goffart2009-03-251-1/+1
| | | | Reviewed-by: Thierry
* Fix scrollbar appearing on QComboBoxOlivier Goffart2009-03-251-0/+54
| | | | | | | aefadefae655972287b196e6c0f0563c4fb4666c was not good enough Task-number: 248094 Reviewed-by: Jens Bache-Wiig <jbache@trolltech.com>
* Fixes a focusWidget when showing a toplevel that accepts keyboard input.Denis Dzyubenko2009-03-241-0/+14
| | | | | | | | | | When a toplevel window is the widget that can accept keyboard input, it doesn't get focus when shown. The fix is to check if the toplevel is activated and noone has focus, then give focus to the toplevel itself. Reviewed-by: Brad Task-number: 244607
* Make sure the sorting is updated when dynamic sorting is enabled and the ↵Olivier Goffart2009-03-241-0/+52
| | | | | | | model is reset Task-number: 248868 (part 2) Reviewed-by: Thierry
* Make sure QSortFilterProxyModel::sort always sort when DynamicSort is not usedOlivier Goffart2009-03-241-0/+60
| | | | | Task-number: 248868 (part 1) Reviewed-by: Thierry
* Do not cache the sizeHint() while we're in QGraphicsWidget's constructor.Jan-Arve Sæther2009-03-241-29/+35
| | | | | | | | | Do not send a QFontChange event before the item has been polished. This is because we cannot call a virtual function while we're in the ctor. This is basically the same as how we do it in QWidget. Task-number: 246215 Reviewed-by: alexis
* Rendering error (one pixel offset) when drawing ARGB32_PM on RGB16.Samuel Rødal2009-03-241-0/+74
| | | | | | | Missing increments in the blend function's tail code. Task-number: 247492 Reviewed-by: Paul
* Fixes: Crash in QPixmap under X11.Trond Kjernaasen2009-03-231-0/+16
| | | | | | | | | Task: 246446 RevBy: Olivier AutoTest: tst_qpixmap::test_246446() Details: The new QX11PixmapData object wasn't referenced (e.g. the ref count would be 0) after calling setMask() on a 32 bit QPixmap when Xrender was used.
* Long live Qt 4.5!Lars Knoll2009-03-2312523-0/+2481228