|
|
|
@ -83,8 +83,8 @@ int main(int argc, char *argv[])
|
|
|
|
|
|
|
|
|
|
Digikam::authorsRegistration(aboutData);
|
|
|
|
|
|
|
|
|
|
KCmdLineArgs::init( argc, argv, &aboutData );
|
|
|
|
|
KCmdLineArgs::addCmdLineOptions( options );
|
|
|
|
|
TDECmdLineArgs::init( argc, argv, &aboutData );
|
|
|
|
|
TDECmdLineArgs::addCmdLineOptions( options );
|
|
|
|
|
|
|
|
|
|
KApplication app;
|
|
|
|
|
|
|
|
|
@ -115,7 +115,7 @@ int main(int argc, char *argv[])
|
|
|
|
|
app.setMainWidget(digikam);
|
|
|
|
|
digikam->show();
|
|
|
|
|
|
|
|
|
|
KCmdLineArgs* args = KCmdLineArgs::parsedArgs();
|
|
|
|
|
TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs();
|
|
|
|
|
if (args && args->isSet("detect-camera"))
|
|
|
|
|
digikam->autoDetect();
|
|
|
|
|
else if (args && args->isSet("download-from"))
|
|
|
|
|