History

Remove fix for old QT file path bug in OSX

Ryan Huffman committed 10 years ago

Commit 4e0ac2a1 parent 4b7a4e82 files · +0 −10Browse files

Showing the changes to libraries/script-engine/src/ScriptEngines.cpp (1 of 2 files). Show all

Unified · Split

libraries/script-engine/src/ScriptEngines.cpp+0−5
@@ -22,12 +22,7 @@ · 21 unmodified lines
2222 #define __STR1__(x) __STR2__(x)
2323 #define __LOC__ __FILE__ "(" __STR1__(__LINE__) ") : Warning Msg: "
2424
25−#ifndef __APPLE__
2625 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
3126
3227 ScriptsModel& getScriptsModel() {
3328 static ScriptsModel scriptsModel;