Commit 8510f313 authored by Marco Martin's avatar Marco Martin

don't double delete m_spy

dtor not needed
BUG:388910
parent eb69e872
......@@ -82,11 +82,6 @@ TabletModeManager::TabletModeManager(QObject *parent)
);
}
TabletModeManager::~TabletModeManager()
{
delete m_spy;
}
bool TabletModeManager::isTablet() const
{
return m_isTabletMode;
......
......@@ -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);
......
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