diff --git a/src/plugins/qmldesigner/core/model/viewlogger.cpp b/src/plugins/qmldesigner/core/model/viewlogger.cpp index fe193e239c49c76a10cef2da6e6379e041ebd621..5c862ed8a4fff82410b6fa08b39a84b383afc7d2 100644 --- a/src/plugins/qmldesigner/core/model/viewlogger.cpp +++ b/src/plugins/qmldesigner/core/model/viewlogger.cpp @@ -75,7 +75,7 @@ ViewLogger::ViewLogger(QObject *parent) const QString tempPath = QDir::tempPath(); #endif - QTemporaryFile *temporaryFile = new QTemporaryFile(tempPath + QString("/bauhaus-logger-%1-XXXXXX.txt").arg(QDateTime::currentDateTime().toString(Qt::ISODate)), this); + QTemporaryFile *temporaryFile = new QTemporaryFile(tempPath + QString("/bauhaus-logger-%1-XXXXXX.txt").arg(QDateTime::currentDateTime().toString(Qt::ISODate).replace(":", "-")), this); temporaryFile->setAutoRemove(false); if (temporaryFile->open()) { qDebug() << "TemporaryLoggerFile is:" << temporaryFile->fileName();