don't double delete m_spy

dtor not needed
BUG:388910
icc-effect-5.14.5
Marco Martin 2018-01-15 10:56:05 +01:00
parent eb69e87288
commit 8510f31340
2 changed files with 1 additions and 6 deletions

View File

@ -82,11 +82,6 @@ TabletModeManager::TabletModeManager(QObject *parent)
);
}
TabletModeManager::~TabletModeManager()
{
delete m_spy;
}
bool TabletModeManager::isTablet() const
{
return m_isTabletMode;

View File

@ -36,7 +36,7 @@ class TabletModeManager : public QObject
Q_PROPERTY(bool tabletMode READ isTablet NOTIFY tabletModeChanged)
public:
~TabletModeManager();
~TabletModeManager() = default;
bool isTablet() const;
void setIsTablet(bool tablet);