summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Provide a previousInFocusChain for consistancyOlivier Goffart2009-03-301-0/+12
| | | | | Task-number: 201649 Reviewed-by: Thierry
* Merge branch '4.5'Thiago Macieira2009-03-272-0/+42
|\ | | | | | | | | | | | | | | | | | | Conflicts: tools/linguist/lupdate/qscript.cpp tools/linguist/lupdate/qscript.g tools/linguist/lupdate/ui.cpp tools/linguist/shared/cpp.cpp tools/linguist/shared/qph.cpp tools/linguist/shared/translator.h
| * Fix background of QAbstractScrollArea when styled only with pseudo-classOlivier Goffart2009-03-271-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This may happen if you only have something like QAbstractScrollArea:focus { background: foo; } and you do not have a background set for the general case and the viewport has a different background role (such as QTextEdit, QAbstractItemView, ....) This is a regression from 4.4 since in 4.4 the :focus has no effect if you didn't have a background for the general case. Reviewed-by: bnilsen Task-number: 188195
| * Fix mismatch between stroke and fill of ellipses on X11.Samuel Rødal2009-03-271-0/+19
| | | | | | | | | | | | | | | | | | | | When drawing ellipse without stroke we need to use the same width/height for the fill as we would use for the stroke for the stroke and fill to match. Filling first and then stroking should produce the same result as filling and stroking in one go. Task-number: 249490 Reviewed-by: Trond
* | Clear QLineEdit selection when redoing a delete operation.jasplin2009-03-271-0/+13
| | | | | | | | | | | | | | | | Deleting text in a QLineEdit should never leave a non-empty selection. This is now reflected properly in the redo function. Reviewed-by: janarve Task-number: 248948
* | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-03-262-0/+47
|\ \ | |/
| * 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
* | Merge branch '4.5'Rohan McGovern2009-03-2637-37/+39
|\ \ | |/ | | | | | | Conflicts: tests/auto/selftests/tst_selftests.cpp
| * 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
| |
* | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-03-252-1/+88
|\ \ | |/
| * 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>
* | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-03-245-29/+251
|\ \ | |/
| * 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.
* | Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qtSimon Hausmann2009-03-233-10/+10
|\ \ | |/
| * Long live Qt 4.5!Lars Knoll2009-03-2312523-0/+2481228
|
* Long live Qt!Lars Knoll2009-03-2312571-0/+2488866