QStandardPaths should still work without desktop service

To fix a compile problem when QT_NO_DESKTOPSERVICES is defined.
We should enable QStandardPaths on Mac even without desktop service,
since it doesn't rely on desktop service and it is used in other files.

Change-Id: I29267ebfe81b79c598043f8287fd2bb419573570
Reviewed-by: David Faure <faure@kde.org>
This commit is contained in:
Jing Bai 2012-09-03 10:14:38 +02:00 committed by Qt by Nokia
parent d7e29682b5
commit ae2686717e

View File

@ -39,8 +39,6 @@
**
****************************************************************************/
#ifndef QT_NO_DESKTOPSERVICES
#include "qstandardpaths.h"
#include <qdir.h>
#include <private/qcore_mac_p.h>
@ -201,5 +199,3 @@ QString QStandardPaths::displayName(StandardLocation type)
}
QT_END_NAMESPACE
#endif // QT_NO_DESKTOPSERVICES