summaryrefslogtreecommitdiff
path: root/src/profilesdialog.cpp
diff options
context:
space:
mode:
authorLostDragonist <lost.dragonist@gmail.com>2019-01-05 16:34:10 -0600
committerLostDragonist <lost.dragonist@gmail.com>2019-01-05 19:11:22 -0600
commitf2c145b2fc9d6ffce838398e06f7aa583d05887d (patch)
treeeef3a53958d96977f4b97f7a1b619434caacdb6f /src/profilesdialog.cpp
parentcc7d1ed7212d566de74ce24ac5188cb22f96779e (diff)
Change qPrintable to qUtf8Printable to better support non-ASCII text
Diffstat (limited to 'src/profilesdialog.cpp')
-rw-r--r--src/profilesdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profilesdialog.cpp b/src/profilesdialog.cpp
index 17844357..f9ea655f 100644
--- a/src/profilesdialog.cpp
+++ b/src/profilesdialog.cpp
@@ -214,7 +214,7 @@ void ProfilesDialog::on_removeProfileButton_clicked()
delete item;
}
if (!shellDelete(QStringList(profilePath))) {
- qWarning("Failed to shell-delete \"%s\" (errorcode %lu), trying regular delete", qPrintable(profilePath), ::GetLastError());
+ qWarning("Failed to shell-delete \"%s\" (errorcode %lu), trying regular delete", qUtf8Printable(profilePath), ::GetLastError());
if (!removeDir(profilePath)) {
qWarning("regular delete failed too");
}