tst_qfile: remove unused variable
Change-Id: I3c827b8a372158815cf234a548a85cf6165c189e Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
2cb2a2e29e
commit
e433553c1b
@ -487,11 +487,6 @@ void tst_QFile::open_data()
|
||||
QTest::addColumn<bool>("ok");
|
||||
QTest::addColumn<QFile::FileError>("status");
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
static const QString denied("Operation not permitted");
|
||||
#else
|
||||
static const QString denied("Permission denied");
|
||||
#endif
|
||||
QTest::newRow( "exist_readOnly" )
|
||||
<< m_testFile << int(QIODevice::ReadOnly)
|
||||
<< true << QFile::NoError;
|
||||
|
Loading…
Reference in New Issue
Block a user