KCmdLineArgs::isSet() assertation on win32

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


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"));

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


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


More information about the kde-core-devel mailing list