1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-18 08:22:33 +02:00

Remove explicit disconnect causing crash

This commit is contained in:
Elias Steurer 2021-09-04 21:18:29 +02:00
parent 4da2632d8e
commit 2b02948661
2 changed files with 1 additions and 9 deletions

View File

@ -10,14 +10,6 @@ namespace ScreenPlay {
This class is only for managing the QProcess to an extern ScreenPlayWallpaper!
*/
/*!
\brief Destructor for ScreenPlayWallpaper.
*/
ScreenPlayWallpaper::~ScreenPlayWallpaper()
{
m_connection->close();
qInfo() << "Remove wallpaper " << m_appID;
}
/*!
\brief Constructor for ScreenPlayWallpaper.

View File

@ -66,8 +66,8 @@ class ScreenPlayWallpaper : public QObject {
Q_PROPERTY(InstalledType::InstalledType type READ type WRITE setType NOTIFY typeChanged)
public:
// Default constructor for qml engine
ScreenPlayWallpaper() { }
~ScreenPlayWallpaper();
explicit ScreenPlayWallpaper(
const QVector<int>& screenNumber,