X Error: BadMatch
Lubos Lunak
l.lunak at suse.cz
Wed Mar 19 14:05:24 GMT 2003
On Wednesday 19 of March 2003 14:51, Andras Mantia wrote:
> Hi,
>
> Can anybody tell me why I get the below error when this code is executed?
>
> query = KMessageBox::warningYesNoCancel( this,
> i18n( "A Document with this name already exists.\nDo you want
> to overwrite it?" ) );
>
> "this" point to a QWidget derived class, but the same happens when I
> replace it with 0.
>
> Error:
> quanta: WARNING: KDE detected X Error: BadMatch (invalid parameter
> attributes) \x08
> Major opcode: *
>
> Andras
>
> PS: The same happens in other places of code, where I use KMessageBox and
> also in Kate when you try to overwrite a file, and the question about
> overwriting is shown.
Run the app in gdb, and pass it also -sync as argument. Put a breakpoint in
kde_x_errhandler (see in kapplication.cpp), and it will be called for every X
error.
--
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o. e-mail: l.lunak at suse.cz , l.lunak at kde.org
Drahobejlova 27 tel: +420 2 9654 2373
190 00 Praha 9 fax: +420 2 9654 2374
Czech Republic http://www.suse.cz/
More information about the kde-core-devel
mailing list