KLauncher problem: can't pass parameters using dcopstart
alexander.neundorf at gmx.net
Tue Sep 17 21:04:50 BST 2002
"dcopstart konqueror --geometry 400x200+100+100"
but it doesn't work.
The reason lies in klauncher.cpp in start_service():
if ((urls.count() > 1) && !service->allowMultipleFiles())
// We need to launch the application N times. That sucks.
// We ignore the result for application 2 to N.
// For the first file we launch the application in the
// usual way. The reported result is based on this
QStringList::ConstIterator it = urls.begin();
i.e. both parameters are interpreted as url's, altough they are only plain
parameters which should simply be passed to the app.
Isn't this simply to much magic ?
More information about the kde-core-devel