Showing the changes to libraries/script-engine/src/ScriptEngines.cpp (1 of 2 files). Show all
Unified · Split
| @@ -22,12 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | #define __STR1__(x) __STR2__(x) |
| 23 | 23 | #define __LOC__ __FILE__ "(" __STR1__(__LINE__) ") : Warning Msg: " |
| 24 | 24 | |
| 25 | −#ifndef __APPLE__ | |
| 26 | 25 | static const QString DESKTOP_LOCATION = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation); |
| 27 | −#else | |
| 28 | −// Temporary fix to Qt bug: http://stackoverflow.com/questions/16194475 | |
| 29 | −static const QString DESKTOP_LOCATION = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation).append("/script.js"); | |
| 30 | −#endif | |
| 31 | 26 | |
| 32 | 27 | ScriptsModel& getScriptsModel() { |
| 33 | 28 | static ScriptsModel scriptsModel; |