Remove fix for old QT file path bug in OSX
Showing the changes to interface/src/Application.cpp (1 of 2 files). Show all
Unified · Split
| @@ -195,12 +195,7 @@ static const uint32_t INVALID_FRAME = UINT32_MAX; · 194 unmodified lines | |||
| 195 | 195 | ||
| 196 | static const float PHYSICS_READY_RANGE = 3.0f; // how far from avatar to check for entities that aren't ready for simulation | 196 | static const float PHYSICS_READY_RANGE = 3.0f; // how far from avatar to check for entities that aren't ready for simulation |
| 197 | 197 | ||
| 198 | #ifndef __APPLE__ | ||
| 199 | static const QString DESKTOP_LOCATION = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation); | 198 | static const QString DESKTOP_LOCATION = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation); |
| 200 | #else | ||
| 201 | // Temporary fix to Qt bug: http://stackoverflow.com/questions/16194475 | ||
| 202 | static const QString DESKTOP_LOCATION = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation).append("/script.js"); | ||
| 203 | #endif | ||
| 204 | 199 | ||
| 205 | Setting::Handle<int> maxOctreePacketsPerSecond("maxOctreePPS", DEFAULT_MAX_OCTREE_PPS); | 200 | Setting::Handle<int> maxOctreePacketsPerSecond("maxOctreePPS", DEFAULT_MAX_OCTREE_PPS); |
| 206 | 201 | ||