summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/gui
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2011-12-20 09:16:54 +0100
committerQt by Nokia <qt-info@nokia.com>2011-12-21 20:32:24 +0100
commit58170cea15f5b39d3802df036c90fee63886b9b3 (patch)
treea2d0054aefee0ad9a6efc18cab6d03db12571232 /tests/benchmarks/gui
parent9c6736470881efb9977576fd8c17bbb90f40a21d (diff)
Reimplement QAbstractFileEngine::open() properly
The virtual function takes a QIODevice::OpenMode argument, not an int. tests/auto/corelib/io/qfile/test/../tst_qfile.cpp:1942: warning: 'MyEngine::open' hides overloaded virtual function [-Woverloaded- virtual] bool open(int ) { return false; } ^ src/corelib/io/qabstractfileengine.h:118: hidden overloaded virtual function 'QAbstractFileEngine::open' declared here virtual bool open(QIODevice::OpenMode openMode); ^ Change-Id: I92338dacb89c05d8c5cfbf8ce094dc519b84d3ba Reviewed-by: Robin Burchell <robin+qt@viroteck.net> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'tests/benchmarks/gui')
0 files changed, 0 insertions, 0 deletions