https://bugs.kde.org/show_bug.cgi?id=381492

            Bug ID: 381492
           Summary: KSelectAction::~KSelectAction calls deleteLater() on
                    NULL QMenu* instance
           Product: frameworks-kwidgetsaddons
           Version: 5.35.0
          Platform: Compiled Sources
                OS: OS X
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: cf...@kde.org
          Reporter: rjvber...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

After updating to FW 5.35.0 I started seeing `QCoreApplication::postEvent:
Unexpected null receiver` errors on the calling terminal.

I traced those to the KSelectAction dtor that calls `menu()->deleteLater()`
without checking first if `menu()` returns non-null.

In turn it appears that function returns NULL because of a now-reverted change
in KXmlGui (#b5af0296cb).

Still, is it safe to assume that `KSelectAction::menu()` never returns NULL (in
the dtor and elsewhere in the file)?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to