Skip to content

Commit

Permalink
Logging: Fixed path to user's profile in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
malcom2073 committed May 29, 2014
1 parent 9ad63d8 commit fef753d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ int main(int argc, char *argv[])
QsLogging::Logger& logger = QsLogging::Logger::instance();
logger.setLoggingLevel(QsLogging::TraceLevel);
#ifdef Q_OS_WIN
QString appDataDir = QString(getenv("USERPROFILE")).replace("\\","/");
QString appDataDir = QString(getenv("%USERPROFILE%")).replace("\\","/");
#else
QString appDataDir = getenv("HOME");
#endif
Expand Down

0 comments on commit fef753d

Please sign in to comment.