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