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/kdocker.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/kdocker.cpp')
-rw-r--r-- | src/kdocker.cpp | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/src/kdocker.cpp b/src/kdocker.cpp index ded1643..b85198d 100644 --- a/src/kdocker.cpp +++ b/src/kdocker.cpp @@ -90,32 +90,32 @@ void KDocker::printVersion(void) // Prints the CLI arguments. Does not return void KDocker::printUsage(char optopt) { - if (optopt != 'h') qDebug(i18n("kdocker: invalid option -- %1").arg(optopt).local8Bit()); - - qDebug(i18n("Usage: KDocker [options] command\n").local8Bit()); - qDebug(i18n("Docks any application into the system tray\n").local8Bit()); - qDebug(i18n("command \tCommand to execute\n").local8Bit()); - qDebug(i18n("Options").local8Bit()); - qDebug(i18n("-a \tShow author information").local8Bit()); - qDebug(i18n("-b \tDont warn about non-normal windows (blind mode)").local8Bit()); - qDebug(i18n("-d \tDisable session management").local8Bit()); - qDebug(i18n("-e \tEnable session management").local8Bit()); - qDebug(i18n("-f \tDock window that has the focus(active window)").local8Bit()); - qDebug(i18n("-h \tDisplay this help").local8Bit()); - qDebug(i18n("-i icon\tCustom dock Icon").local8Bit()); - qDebug(i18n("-l \tLaunch on startup").local8Bit()); - qDebug(i18n("-m \tKeep application window mapped (dont hide on dock)").local8Bit()); - qDebug(i18n("-o \tDock when obscured").local8Bit()); - qDebug(i18n("-p secs\tSet ballooning timeout (popup time)").local8Bit()); - qDebug(i18n("-q \tDisable ballooning title changes (quiet)").local8Bit()); - qDebug(i18n("-t \tRemove this application from the task bar").local8Bit()); - qDebug(i18n("-v \tDisplay version").local8Bit()); - qDebug(i18n("-w wid \tWindow id of the application to dock\n").local8Bit()); - - qDebug(i18n("NOTE: Use -d for all startup scripts.\n").local8Bit()); - - qDebug(i18n("Bugs and wishes to [email protected]").local8Bit()); - qDebug(i18n("Project information at http://kdocker.sourceforge.net").local8Bit()); + if (optopt != 'h') qDebug("%s", i18n("kdocker: invalid option -- %1").arg(optopt).local8Bit().data()); + + qDebug("%s", i18n("Usage: KDocker [options] command\n").local8Bit().data()); + qDebug("%s", i18n("Docks any application into the system tray\n").local8Bit().data()); + qDebug("%s", i18n("command \tCommand to execute\n").local8Bit().data()); + qDebug("%s", i18n("Options").local8Bit().data()); + qDebug("%s", i18n("-a \tShow author information").local8Bit().data()); + qDebug("%s", i18n("-b \tDont warn about non-normal windows (blind mode)").local8Bit().data()); + qDebug("%s", i18n("-d \tDisable session management").local8Bit().data()); + qDebug("%s", i18n("-e \tEnable session management").local8Bit().data()); + qDebug("%s", i18n("-f \tDock window that has the focus(active window)").local8Bit().data()); + qDebug("%s", i18n("-h \tDisplay this help").local8Bit().data()); + qDebug("%s", i18n("-i icon\tCustom dock Icon").local8Bit().data()); + qDebug("%s", i18n("-l \tLaunch on startup").local8Bit().data()); + qDebug("%s", i18n("-m \tKeep application window mapped (dont hide on dock)").local8Bit().data()); + qDebug("%s", i18n("-o \tDock when obscured").local8Bit().data()); + qDebug("%s", i18n("-p secs\tSet ballooning timeout (popup time)").local8Bit().data()); + qDebug("%s", i18n("-q \tDisable ballooning title changes (quiet)").local8Bit().data()); + qDebug("%s", i18n("-t \tRemove this application from the task bar").local8Bit().data()); + qDebug("%s", i18n("-v \tDisplay version").local8Bit().data()); + qDebug("%s", i18n("-w wid \tWindow id of the application to dock\n").local8Bit().data()); + + qDebug("%s", i18n("NOTE: Use -d for all startup scripts.\n").local8Bit().data()); + + qDebug("%s", i18n("Bugs and wishes to [email protected]").local8Bit().data()); + qDebug("%s", i18n("Project information at http://kdocker.sourceforge.net").local8Bit().data()); } void KDocker::notifyPreviousInstance(Window prevInstance) |