~feng-kylin/unity8/OpenUrlInIndicator

« back to all changes in this revision

Viewing changes to paths.h.in

moved indicator cpp source to src folder.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
 
70
70
inline QStringList shellDataDirs() {
71
71
    QStringList dirs = QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation);
72
 
    if (!isRunningInstalled() && getenv("UNITY_TEST_ENV")==NULL) {
73
 
        dirs.prepend("@CMAKE_BINARY_DIR@/share");
 
72
    if (!isRunningInstalled()) {
 
73
        if (getenv("UNITY_TEST_ENV")==NULL) {
 
74
            dirs.prepend("@CMAKE_BINARY_DIR@/share");
 
75
        }
 
76
    }
 
77
    else {
 
78
        dirs.prepend(shellAppDirectory());
74
79
    }
75
80
    return dirs;
76
81
}