From c4f1ebc31d29027d8723fc8850acb4bc63645372 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 31 Mar 2019 12:55:21 +0200 Subject: Added controlled conversions to char* instead of automatic ascii conversions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- cmdline/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdline/main.cpp b/cmdline/main.cpp index dc22642..d196ce8 100644 --- a/cmdline/main.cpp +++ b/cmdline/main.cpp @@ -118,7 +118,7 @@ int main(int argc, char *argv[]) } TQTextStream stream(&passFile); credentials.username = args->getOption("adminusername"); - credentials.password = stream.readLine(); + credentials.password = stream.readLine().utf8(); passFile.close(); } else { -- cgit v1.2.1