mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
[dialer] Don't hardcode the path to /home/phablet for debug logs
This commit is contained in:
parent
ffdad67763
commit
30038e7fe2
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue