diff options
author | Slávek Banko <[email protected]> | 2018-08-28 02:59:15 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2018-08-28 02:59:15 +0200 |
commit | 4eb075d1a3f109a48c14fc3e5d759a0cde62a370 (patch) | |
tree | 746b780a80ae5b9a74a628fe7dc0cb458ebc626d /src/main.cpp | |
parent | ea783a62fc1487b555cb7fac0c50a0dd782bd463 (diff) | |
download | tdedocker-4eb075d1a3f109a48c14fc3e5d759a0cde62a370.tar.gz tdedocker-4eb075d1a3f109a48c14fc3e5d759a0cde62a370.zip |
Fix 'format not a string literal' error
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 579e2fa..0c3ad5b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -39,8 +39,8 @@ static void sighandler(int sig) DUMP_TRACE(QDir::homeDirPath() + "/kdocker.trace"); return; } - - qDebug(i18n("Caught signal %1. Cleaning up.").arg(sig).local8Bit()); + + qDebug("%s", i18n("Caught signal %1. Cleaning up.").arg(sig).local8Bit().data()); ((KDocker *)qApp)->trayLabelMgr()->undockAll(); } |