mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-02 01:34:46 +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)
|
void myMessageOutput(QtMsgType type, const QMessageLogContext &context, const QString &msg)
|
||||||
{
|
{
|
||||||
// TODO: print it on stdout too?
|
// 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);
|
bool opened = file.open(QIODevice::WriteOnly | QIODevice::Append);
|
||||||
Q_ASSERT(opened);
|
Q_ASSERT(opened);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue