silence MSVC warnings about using TS() without parameters

Change-Id: I23264dcabc02b89441fa47c890fc662e9a41f7ce
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
Oswald Buddenhagen 2015-05-13 20:23:04 +02:00
parent 9269dcc8ed
commit 79de60f38b

View File

@ -228,6 +228,9 @@ private:
#define S(s) ProString(QString::fromWCharArray(s))
#define HS(s) ProKey(QString::fromWCharArray(s))
QT_WARNING_PUSH
QT_WARNING_DISABLE_MSVC(4003) // "not enough actual parameters for macro TS()"
void tst_qmakelib::proParser_data()
{
QTest::addColumn<QString>("in");
@ -2068,6 +2071,8 @@ void tst_qmakelib::proParser_data()
<< false;
}
QT_WARNING_POP
void tst_qmakelib::proParser()
{
QFETCH(QString, in);