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:
parent
d7e29682b5
commit
ae2686717e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user