El Dilluns, 11 de novembre de 2013, a les 23:13:51, Harsh Kumar va escriure: > Hi, > > I have a question: > > Krazy2 flags this issue in KMines - Not using QPointers when showing > modal dialogs via exec() > See: http://ebn.kde.org/krazy/reports/kde-4.x/kdegames/kmines/index.html > > Following is the function to display High Scores dialog where the > problem has been flagged: > > void KMinesMainWindow::showHighscores() > { > KScoreDialog scoreDialog(KScoreDialog::Name | KScoreDialog::Time, this); > scoreDialog.initFromDifficulty(Kg::difficulty()); > scoreDialog.hideField(KScoreDialog::Score); > scoreDialog.exec(); > } > > KMines should crash when High Score dialog is open & application is > closed using dbus. > > So, I did the following: > 1.) Started KMines > 2.) Opened the High Scores dialog > 3.) Ran the command - > qdbus org.kde.kmines-[pid] /MainApplication quit > > KMines exits without any crash. It seems nothing went wrong. > > What can be the reason for this? Why am I not able to reproduce the crash.
http://lists.kde.org/?t=138403732000001&r=1&w=2 Cheers, Albert > > Thanks > Regards > Harsh Kumar > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe > >> << >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
