Commit defd8e1f authored by Sébastien Blin's avatar Sébastien Blin

splashscreen: avoid crash on linux

Gitlab: #515
Change-Id: I8cb45f82118de418b36fed2eaad8457746163a14
parent a44f1e11
......@@ -32,7 +32,6 @@ SplashScreen::~SplashScreen()
{
if (spinner_) {
disconnect(spinner_);
delete spinner_;
}
}
......
......@@ -19,6 +19,7 @@
#include <QSplashScreen>
#include <QPainter>
#include <QPointer>
class SplashScreen : public QSplashScreen
{
......@@ -44,5 +45,5 @@ private:
QString footerText_;
QColor bgColor_;
QColor textColor_;
QMovie* spinner_;
QPointer<QMovie> spinner_;
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment