[Digikam-devel] [Bug 304609] Crash of Digikam
Marcel Wiesweg
marcel.wiesweg at gmx.de
Wed Oct 3 14:04:28 BST 2012
https://bugs.kde.org/show_bug.cgi?id=304609
--- Comment #4 from Marcel Wiesweg <marcel.wiesweg at gmx.de> ---
Code (crash in second line):
QDesktopWidget* desktop = QApplication::desktop();
int screenNumber = desktop->screenNumber(widget);
We dont check the desktop widget, and from the docs the state of a null desktop
widget is not defined/expected, but the crash comes from accessing this.
I will add a null pointer check. If there's not a null pointer and still
crashes, it's an upstream problem.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list