Search
j0ke.net Open Build Service
>
Projects
>
KDE
:
QT-4
>
krusader
> krusader_root_mode.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File krusader_root_mode.patch of Package krusader
Index: krusader-2.0.0-beta1/krusader/krslots.cpp =================================================================== --- krusader-2.0.0-beta1.orig/krusader/krslots.cpp +++ krusader-2.0.0-beta1/krusader/krslots.cpp @@ -544,11 +544,11 @@ void KRslots::rootKrusader() KMessageBox::sorry( krApp, i18n( "Can't start root mode krusader, because krusader or kdesu is missing from the path. Please configure the dependencies in Konfigurator!" ) ); return; } - + KProcess proc; proc << KrServices::fullPathName( "kdesu" ) << KrServices::fullPathName( "krusader" ) - << "--left=" + MAIN_VIEW->left->func->files()->vfs_getOrigin().url() - << "--right=" + MAIN_VIEW->right->func->files()->vfs_getOrigin().url(); + + " --left=" + MAIN_VIEW->left->func->files()->vfs_getOrigin().url() + + " --right=" + MAIN_VIEW->right->func->files()->vfs_getOrigin().url(); if (!proc.startDetached()) KMessageBox::error(0,i18n("Error executing %1!", proc.program()[0]));