|
|
|
@ -34,8 +34,8 @@ int main( int argc, char *argv[] )
|
|
|
|
|
about.addCredit( "Stephanie James", I18N_NOOP("Testing") );
|
|
|
|
|
about.addCredit( "Marcus Camen", I18N_NOOP("Bravery in the face of unreadable code") );
|
|
|
|
|
|
|
|
|
|
KCmdLineArgs::init( argc, argv, &about );
|
|
|
|
|
KCmdLineArgs::addCmdLineOptions( options );
|
|
|
|
|
TDECmdLineArgs::init( argc, argv, &about );
|
|
|
|
|
TDECmdLineArgs::addCmdLineOptions( options );
|
|
|
|
|
|
|
|
|
|
KApplication app;
|
|
|
|
|
|
|
|
|
@ -43,7 +43,7 @@ int main( int argc, char *argv[] )
|
|
|
|
|
MainWindow *mw = new MainWindow();
|
|
|
|
|
app.setMainWidget( mw );
|
|
|
|
|
|
|
|
|
|
KCmdLineArgs* const args = KCmdLineArgs::parsedArgs();
|
|
|
|
|
TDECmdLineArgs* const args = TDECmdLineArgs::parsedArgs();
|
|
|
|
|
if (args->count() > 0 ) mw->scan( args->url( 0 ));
|
|
|
|
|
args->clear();
|
|
|
|
|
|
|
|
|
|