Commit e6eb0612 authored by Fawzi Mohamed's avatar Fawzi Mohamed
Browse files

cpp/fileandtokenactions: fix qt4 compilation



Change-Id: Ic55e5e79c5707aa8e19be32f282d679e4e9be627
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 4284693c
......@@ -47,6 +47,11 @@
#include <QTextDocument>
#include <QtTest>
#if QT_VERSION >= 0x050000
#define MSKIP_SINGLE(x) QSKIP(x)
#else
#define MSKIP_SINGLE(x) QSKIP(x, SkipSingle)
#endif
/*!
Tests for executing "test actions" for
......@@ -125,7 +130,7 @@ void TestActionsTestCase::run(const Actions &tokenActions, const Actions &fileAc
QStringList filesToOpen;
const QList<CppModelManagerInterface::ProjectInfo> projectInfos = mm->projectInfos();
if (projectInfos.isEmpty())
QSKIP("No project(s) loaded. Test operates only on loaded projects.");
MSKIP_SINGLE("No project(s) loaded. Test operates only on loaded projects.");
foreach (const CppModelManagerInterface::ProjectInfo &info, projectInfos) {
qDebug() << "Project" << info.project()->displayName() << "- files to process:"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment