diff options
author | Simon Rettberg | 2016-03-24 17:44:05 +0100 |
---|---|---|
committer | Simon Rettberg | 2016-03-24 17:44:05 +0100 |
commit | cf997e90fdf6d0e89273651072dd0eeccfef98cb (patch) | |
tree | 96f38097523cbb5ba64d9cb8486aa0293efcb3d8 /src/maingui/main.cpp | |
parent | [printergui] Sanitize job names (ASCII only to be extra safe) (diff) | |
download | printergui-cf997e90fdf6d0e89273651072dd0eeccfef98cb.tar.gz printergui-cf997e90fdf6d0e89273651072dd0eeccfef98cb.tar.xz printergui-cf997e90fdf6d0e89273651072dd0eeccfef98cb.zip |
[printergui] Interpret --error message as utf8
Diffstat (limited to 'src/maingui/main.cpp')
-rw-r--r-- | src/maingui/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/maingui/main.cpp b/src/maingui/main.cpp index 58ace07..1e7c2b2 100644 --- a/src/maingui/main.cpp +++ b/src/maingui/main.cpp @@ -18,7 +18,7 @@ int main(int argc, char *argv[]) QApplication a(argc, argv); if (strcmp(argv[1], "--error") == 0) { - QMessageBox::critical(NULL, "Verarbeitungsfehler", argv[2]); + QMessageBox::critical(NULL, "Verarbeitungsfehler", QString::fromUtf8(argv[2])); return 0; } else { // Check if file exists |