Commit 46b5be98 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

remove another unnecessary platform #ifdef concerning temppath

parent 9b82323a
......@@ -68,12 +68,7 @@ QString ViewLogger::time() const
ViewLogger::ViewLogger(QObject *parent)
: AbstractView(parent)
#ifdef Q_OS_MAC
const QString tempPath = "/tmp";
const QString tempPath = QDir::tempPath();
const QString path = tempPath + QString("/qmldesigner-logger-%1-XXXXXX.txt").
const QString path = QDir::tempPath() + QString("/qmldesigner-logger-%1-XXXXXX.txt").
replace(':', '-'));
QTemporaryFile *temporaryFile = new QTemporaryFile(path, this);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment