[Kde-games-devel] [patch]KMines: krazy fix: Using QPointers when showing modal dialogs via exec()

Albert Astals Cid aacid at kde.org
Tue Nov 5 23:35:16 UTC 2013


El Dimarts, 5 de novembre de 2013, a les 21:40:11, Harsh Kumar va escriure:
> Hi,

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 for your contributions, can you please upload them to reviewboard[1] 
and add the kdegames group? It makes much easier to keep track of patches, 
what is commited and what not, etc.

Tell us if you have any problem with reviewboard.

Cheers,
  Albert

[1] http://reviewboard.kde.org/

> 
> Thanks
> Regards
> Harsh Kumar



More information about the kde-games-devel mailing list