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 interface/src/Application.cpp (1 of 2 files). Show all

Unified · Split

interface/src/Application.cpp+0−5
@@ -193,12 +193,7 @@ static const uint32_t INVALID_FRAME = UINT32_MAX; · 192 unmodified lines
193 193
194static const float PHYSICS_READY_RANGE = 3.0f; // how far from avatar to check for entities that aren't ready for simulation194static const float PHYSICS_READY_RANGE = 3.0f; // how far from avatar to check for entities that aren't ready for simulation
195 195
196#ifndef __APPLE__
197static const QString DESKTOP_LOCATION = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation);196static const QString DESKTOP_LOCATION = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation);
198#else
199// Temporary fix to Qt bug: http://stackoverflow.com/questions/16194475
200static const QString DESKTOP_LOCATION = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation).append("/script.js");
201#endif
202 197
203Setting::Handle<int> maxOctreePacketsPerSecond("maxOctreePPS", DEFAULT_MAX_OCTREE_PPS);198Setting::Handle<int> maxOctreePacketsPerSecond("maxOctreePPS", DEFAULT_MAX_OCTREE_PPS);
204 199