|
|
|
@ -187,7 +187,7 @@ int main(int argc, char *argv[])
|
|
|
|
|
for ( int i = 1; i < argc; i++ ) {
|
|
|
|
|
if ( strcmp(argv[i], uniq) == 0 ) {
|
|
|
|
|
isUnique = true;
|
|
|
|
|
KUniqueApplication::addCmdLineOptions(); // before calling parsedArgs!
|
|
|
|
|
TDEUniqueApplication::addCmdLineOptions(); // before calling parsedArgs!
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -196,8 +196,8 @@ int main(int argc, char *argv[])
|
|
|
|
|
TDEApplication::disableAutoDcopRegistration();
|
|
|
|
|
|
|
|
|
|
if (isUnique) {
|
|
|
|
|
KUniqueApplication::dcopClient()->registerAs("quanta-foo");
|
|
|
|
|
if (KUniqueApplication::dcopClient()->isApplicationRegistered("quanta"))
|
|
|
|
|
TDEUniqueApplication::dcopClient()->registerAs("quanta-foo");
|
|
|
|
|
if (TDEUniqueApplication::dcopClient()->isApplicationRegistered("quanta"))
|
|
|
|
|
{
|
|
|
|
|
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
|
|
|
|
|
for (int i = 0; i < args->count(); i++)
|
|
|
|
|