diff options
author | Slávek Banko <[email protected]> | 2021-01-14 02:37:59 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2021-01-14 02:37:59 +0100 |
commit | 355f00c2bd6f4b2870133d0423420ef8046b7156 (patch) | |
tree | 914337ce5bd4bd2bc984866f02c370c2a2788c7e /src/update.cpp | |
parent | 5962b7e681adb58055898f2e35665934bd08e235 (diff) | |
download | tork-355f00c2bd6f4b2870133d0423420ef8046b7156.tar.gz tork-355f00c2bd6f4b2870133d0423420ef8046b7156.zip |
Added controlled conversions to char* instead of automatic ascii conversions.
The definition of -UTQT_NO_ASCII_CAST is no longer needed.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/update.cpp')
-rw-r--r-- | src/update.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/update.cpp b/src/update.cpp index 359b0c9..da9d628 100644 --- a/src/update.cpp +++ b/src/update.cpp @@ -242,10 +242,10 @@ void TorkUpdate::downloadComponent(TQString component, TQString version, TQStrin if (torkdir.exists() && configurefile.exists()){ - chmod((const char *)configure,0700); + chmod(configure.local8Bit(), 0700); int result = KMessageBox::warningContinueCancel(0, i18n( "%1-%2 is ready for compiling and installation. Would you like the wizard to ask you for the root password so it can compile and install it for you? (If not, you can compile it yourself later at %3/%4-%5)").arg(component).arg(version).arg(location).arg(component).arg(version),i18n( "Install %1-%2" ).arg(component).arg(version),i18n( "Use the Wizard" )); - + switch (result) { case 2 : KMessageBox::information (0,i18n("Installation of %1 Cancelled.").arg(component)); |