[Kde-games-devel] [patch]KMines: krazy fix: Using QPointers when showing modal dialogs via exec()
Harsh Kumar
harsh1kumar at gmail.com
Tue Nov 5 16:10:11 UTC 2013
Hi,
This patch relates to KMines.
Patch Changes the file - kmines/mainwindow.cpp
This is to fix a issue flagged by Krazy Code Checker :
ebn.kde.org/krazy/reports/kde-4.x/kdegames/kmines/index.html
In the fix, QPointers is used to create an object for modal dialogs
which are shown via exec(). As mentioned in blogs.kde.org/node/3919,
this fix will prevent crashing of the application when it is exited
externally, for example by dbus.
Thanks
Regards
Harsh Kumar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: usingQPointer.patch
Type: text/x-patch
Size: 2222 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20131105/e5e778e9/attachment.patch>
More information about the kde-games-devel
mailing list