diff options
author | Slávek Banko <[email protected]> | 2019-01-05 19:59:08 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-01-05 19:59:08 +0100 |
commit | ccee21ee3f881fcdae3a56876ca33b558e5bf502 (patch) | |
tree | c1f8832859f8d096cc2223b0de38443ef3f60b3a | |
parent | ea962b24d10a6d97df393199016909d9ef9c27c6 (diff) | |
download | kcmldap-ccee21ee3f881fcdae3a56876ca33b558e5bf502.tar.gz kcmldap-ccee21ee3f881fcdae3a56876ca33b558e5bf502.zip |
Added controlled conversions to char* instead of automatic ascii conversions.
Signed-off-by: Slávek Banko <[email protected]>
-rw-r--r-- | cmdline/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/main.cpp b/cmdline/main.cpp index 466af4d..c04c433 100644 --- a/cmdline/main.cpp +++ b/cmdline/main.cpp @@ -101,7 +101,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 { |