kdeclarative: fix crash in IconDialog when no QApplication is available.

Review Request #128730 - Created Aug. 21, 2016 and submitted

Information
David Faure
kdeclarative
master
Reviewers
kdeframeworks
mart
This happens when QtCreator launches qmlplugindump.
Testcase: qmlplugindump -nonrelocatable org.kde.plasma.calendar 2.0 /usr/lib64/qml

There are more similar issues, e.g. in
plasma-framework/src/declarativeimports/plasmacomponents/qmenu.cpp

as mentionned above

Issues

  • 2
  • 1
  • 0
  • 3
Description From Last Updated
You don't seem to be creating the dialog now, are you? Kai Uwe Broulik Kai Uwe Broulik
You mean IconDialog is instantiate before QApplication? If it's true, i think this is wrong place to patch it. Anthony Fieroni Anthony Fieroni
Kai Uwe Broulik
Anthony Fieroni
Martin Flöser
Marco Martin
David Faure
Marco Martin
Aleix Pol Gonzalez
David Faure
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit ff5ee3f6ec29ea8d97538f8478f9db4be47417e5 by David Faure to branch master.
Loading...