diff --git a/dialer/src/main.cpp b/dialer/src/main.cpp index ec11150e..8d717502 100644 --- a/dialer/src/main.cpp +++ b/dialer/src/main.cpp @@ -53,7 +53,7 @@ void myMessageOutput(QtMsgType type, const QMessageLogContext &context, const QString &msg) { // TODO: print it on stdout too? - QFile file("/home/phablet/dialer.log"); + QFile file(QDir::homePath() + "/dialer.log"); bool opened = file.open(QIODevice::WriteOnly | QIODevice::Append); Q_ASSERT(opened);