|
|
|
@ -37,8 +37,8 @@ int main(int argc, char** argv)
|
|
|
|
|
I18N_NOOP("ssh-askpass for tdesvn"),
|
|
|
|
|
KAboutData::License_LGPL,
|
|
|
|
|
I18N_NOOP("Copyright (c) 2005 Rajko Albrecht"));
|
|
|
|
|
KCmdLineArgs::init(argc, argv, &about);
|
|
|
|
|
KCmdLineArgs::addCmdLineOptions(options);
|
|
|
|
|
TDECmdLineArgs::init(argc, argv, &about);
|
|
|
|
|
TDECmdLineArgs::addCmdLineOptions(options);
|
|
|
|
|
// no need to register with the dcop server
|
|
|
|
|
KApplication::disableAutoDcopRegistration();
|
|
|
|
|
|
|
|
|
@ -47,10 +47,10 @@ int main(int argc, char** argv)
|
|
|
|
|
app.disableSessionManagement();
|
|
|
|
|
TQString prompt;
|
|
|
|
|
|
|
|
|
|
if( !KCmdLineArgs::parsedArgs()->count() ) {
|
|
|
|
|
if( !TDECmdLineArgs::parsedArgs()->count() ) {
|
|
|
|
|
prompt = i18n("Please enter your password below.");
|
|
|
|
|
} else {
|
|
|
|
|
prompt = KCmdLineArgs::parsedArgs()->arg(0);
|
|
|
|
|
prompt = TDECmdLineArgs::parsedArgs()->arg(0);
|
|
|
|
|
}
|
|
|
|
|
TQCString pw;
|
|
|
|
|
KPasswordDialog::disableCoreDumps();
|
|
|
|
|