qt5base-lts/tests/auto/corelib
Thiago Macieira 674e79416f Fix incomplete override of QIODevice::open in QProcess and QLocalSocket
The rule for a new override is that it must still work if the old
implementation is called. The catch is that any class that derives from
QProcess and isn't recompiled will still have QIODevice::open in its
virtual table. That is equivalent to overriding open() and calling
QIODevice::open() (like the tests).

In Qt 5.0, QProcess::start() called QIODevice::open directly, not the
virtual open(), so there's no expectation that a user-overridden open()
be called. With that in mind, simply fix QProcess::start to not call the
virtual open at all.

Similarly with QLocalSocket, the calls to open were always non-virtual.

Task-number: QTBUG-32284
Change-Id: I88925f0ba08bc23c849658b54582744997e69a4c
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
2013-07-20 00:22:03 +02:00
..
animation Merge remote-tracking branch 'origin/stable' into dev 2013-01-22 18:40:13 +01:00
codecs Fix regression when pasting into QTextEdit from Firefox. 2013-05-23 16:55:30 +02:00
global Make QFlags enum flags (C++11 strict enums) friendly 2013-05-09 12:17:59 +02:00
io Fix incomplete override of QIODevice::open in QProcess and QLocalSocket 2013-07-20 00:22:03 +02:00
itemmodels Fix QAbstractItemModel::moveColumn() 2013-04-23 13:35:31 +02:00
json QtCore: fix the number precision in QJsonDocument.toJson() again 2013-07-04 16:50:57 +02:00
kernel Fix dead lock in the Qt event handling 2013-07-10 17:57:10 +02:00
mimetypes QMimeDatabase: pass MatchMode down, to fix MatchContent. 2013-03-01 13:05:11 +01:00
plugin Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
statemachine Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
thread QThreadPool: Fix regression from Qt 4 in dealing with priority starts 2013-05-20 12:06:48 +02:00
tools Ensure we don't repeat QTBUG-30931 in Qt5 2013-06-18 13:36:23 +02:00
xml Check for network module when building according auto tests 2013-02-19 19:20:53 +01:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00