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

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #6 from David Edmundson <k...@davidedmundson.co.uk> ---
I should have read this:

#7  0x000000000046429e in ViewerWindow::showSavedVideoMessage(QUrl const&)
(this=0x0, messageArgument=...) at
/home/nate/kde/src/spectacle/src/Gui/ViewerWindow.cpp:152

this=0

ViewerWindow is not instantiated. The lifespan is managed by something else and
there's effectively a weakpointer for the singleton. 

    connect(m_videoPlatform.get(), &VideoPlatform::recordingSaved, this,
[this](const QString &path) {
        const QUrl url = QUrl::fromUserInput(path, {}, QUrl::AssumeLocalFile);
        ViewerWindow::instance()->showSavedVideoMessage(url);

and several other places are not guarding ViewerWindow::instance().

It should be either guarded or we should figure the lifespan

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

Reply via email to