diff options
author | Slávek Banko <[email protected]> | 2021-12-30 04:29:19 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2021-12-30 04:29:19 +0100 |
commit | 590a6509163fa784bb6ad9cb43e2978163ea6d76 (patch) | |
tree | 7f5a8adcbcdf277b1457703936e14266d5d9777c /examples/PkExampleHelper.cpp | |
parent | 1f66032a83f840889bed67ded4fad8647e29a4bf (diff) | |
download | polkit-tqt-590a6509163fa784bb6ad9cb43e2978163ea6d76.tar.gz polkit-tqt-590a6509163fa784bb6ad9cb43e2978163ea6d76.zip |
Use the formatted strings instead of joining the message.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'examples/PkExampleHelper.cpp')
-rw-r--r-- | examples/PkExampleHelper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/PkExampleHelper.cpp b/examples/PkExampleHelper.cpp index 7b27de58f..3df798f59 100644 --- a/examples/PkExampleHelper.cpp +++ b/examples/PkExampleHelper.cpp @@ -110,13 +110,13 @@ bool PkExampleHelper::set(const TQString &action) if (result == Authority::Yes) { // Caller is authorized so we can perform the action - tqDebug(TQString("Implicit authorization set to ") + action); + tqDebug(TQString("Implicit authorization set to %1").arg(action)); return setValue(action); } else { // Caller is not authorized so the action can't be performed - tqDebug(TQString("Can't set the implicit authorization to ") + action); + tqDebug(TQString("Can't set the implicit authorization to %1").arg(action)); return false; } } |