KCmdLineArgs::isSet() assertation on win32

Marijn Kruisselbrink m.kruisselbrink at student.tue.nl
Tue Sep 4 16:49:47 BST 2007


Allen Winter wrote:
> On Thursday 16 August 2007 7:24:12 pm Ralf Habacker wrote:
>   
>> 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
>>
>>
>>     
> Was this ever taken care of?
>
>   
The patch that added those #ifdefs was reverted, I guess that counts as 
taken care of?





More information about the kde-core-devel mailing list