diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2019-03-31 12:55:21 +0200 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2019-03-31 12:55:21 +0200 |
| commit | c4f1ebc31d29027d8723fc8850acb4bc63645372 (patch) | |
| tree | f59898a508731b4a5e8635b0ece2831f9028faa6 /cmdline/main.cpp | |
| parent | 73b31355d497b567111c78f71fd5d3a5892c6bf2 (diff) | |
| download | kcmldapmanager-c4f1ebc31d29027d8723fc8850acb4bc63645372.tar.gz kcmldapmanager-c4f1ebc31d29027d8723fc8850acb4bc63645372.zip | |
Added controlled conversions to char* instead of automatic ascii conversions.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'cmdline/main.cpp')
| -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 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 { |
