diff options
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)); |