Commit 6759e517 authored by Laurent Montel's avatar Laurent Montel 😁

USe QStandardPaths::TempLocation (fix path on windows)

parent 15f5e9ec
......@@ -46,6 +46,7 @@
#include <QFileInfo>
#include <QVariant>
#include <QList>
#include <QStandardPaths>
using namespace KTnef;
......@@ -87,7 +88,7 @@ class KTnef::KTNEFParser::ParserPrivate
public:
ParserPrivate()
{
defaultdir_ = QStringLiteral("/tmp/");
defaultdir_ = QStandardPaths::writableLocation(QStandardPaths::TempLocation);
current_ = nullptr;
deleteDevice_ = false;
device_ = nullptr;
......
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