KCmdLineArgs::isSet() assertation on win32

Ralf Habacker ralf.habacker at freenet.de
Fri Aug 17 00:24:12 BST 2007


Hi,

I found a problem with KCmdLineArgs on win32:

in kdecore/kcmdlineargs.cpp:311 the geometry option is limited to x11

#ifdef Q_WS_X11
    kde_options.add("geometry <geometry>", ki18n("sets the client 
geometry of the main widget - see man X for the argument format"));
#endif

Unfortunally in kdeui/kmainwindow.cpp this option is requested two times 
and results into an assertation in KCmdLineArgs::isSet()

Is the propper solution to avoid this assertation to

a)  activate the geometry option on win32 too

or

b)  disabling the geometry option request in kdeui/kmainwindow.cpp


Ralf





More information about the kde-core-devel mailing list