Commit 91d22556 authored by Christian Kandeler's avatar Christian Kandeler Committed by Oswald Buddenhagen

Fix compilation with namespaced Qt.

Change-Id: I0407a74e33680ed7bb61298dc1bab3da62c3f938
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@nokia.com>
parent b206feab
......@@ -43,6 +43,8 @@
# include <unistd.h>
#endif
QT_BEGIN_NAMESPACE
using namespace ProFileEvaluatorInternal;
IoUtils::FileType IoUtils::fileType(const QString &fileName)
......@@ -150,3 +152,5 @@ QString IoUtils::shellQuote(const QString &arg)
return ret;
}
#endif
QT_END_NAMESPACE
......@@ -35,7 +35,7 @@
#include <QString>
QT_USE_NAMESPACE
QT_BEGIN_NAMESPACE
namespace ProFileEvaluatorInternal {
......@@ -62,6 +62,8 @@ public:
#endif
};
}
} // namespace ProFileEvaluatorInternal
QT_END_NAMESPACE
#endif // IOUTILS_H
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