Compile (on Mac)

This commit is contained in:
Alessandro Portale
2010-08-16 22:02:20 +02:00
parent 23f771d444
commit b8d4356c6f

View File

@@ -24,7 +24,7 @@ class QmlApplicationViewPrivate
QString QmlApplicationViewPrivate::adjustPath(const QString &path) QString QmlApplicationViewPrivate::adjustPath(const QString &path)
{ {
#ifdef Q_OS_MAC #ifdef Q_OS_MAC
if (!QDir::isAbsolute(path)) if (!QDir::isAbsolutePath(path))
return QCoreApplication::applicationDirPath() return QCoreApplication::applicationDirPath()
+ QLatin1String("/../Resources/") + path; + QLatin1String("/../Resources/") + path;
#endif #endif