[KPhotoAlbum] [PATCH]: Fix ResetLayout (was: Re: Please Read - Release procedure started (newsnapshot))
Martin Hoeller
martin at xss.co.at
Wed Mar 15 15:55:42 GMT 2006
On 14 Mär 2006, Jean-Samuel wrote:
> An other problem : the use of the "options/reset layout" button
> immediately close the "set properties" dialog box. After that,
> kphotoalbum crash when you close the applications, with the 11 SIGSEGV
> signal. details :
I can't reproduce this crash, but events don't reach the main window any
more after a "reset layout" in the search dialog. The following patch
fixes this for me.
Index: AnnotationDialog/AnnotationDialog.cpp
===================================================================
--- AnnotationDialog/AnnotationDialog.cpp (revision 518547)
+++ AnnotationDialog/AnnotationDialog.cpp (working copy)
@@ -830,6 +830,7 @@
QString group =
Options::instance()->groupForDatabase(QString::fromLatin1("Config
Window")); kapp->config()->deleteGroup( group ); kapp->config()->sync();
+ qApp->removeEventFilter( this );
close();
emit deleteMe();
}
- martin
--
mailto:martin.hoeller at xss.co.at | > Ever heard of .cshrc?
http://stud3.tuwien.ac.at/~e9926483 | That's a city in Bosnia. Right?
icq:45563199 | (Discussion in comp.os.linux.misc.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kphotoalbum/attachments/20060315/17fc3560/attachment.sig>
More information about the Kphotoalbum
mailing list