don't double delete m_spy
dtor not needed BUG:388910
This commit is contained in:
parent
eb69e87288
commit
8510f31340
2 changed files with 1 additions and 6 deletions
|
@ -82,11 +82,6 @@ TabletModeManager::TabletModeManager(QObject *parent)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
TabletModeManager::~TabletModeManager()
|
|
||||||
{
|
|
||||||
delete m_spy;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool TabletModeManager::isTablet() const
|
bool TabletModeManager::isTablet() const
|
||||||
{
|
{
|
||||||
return m_isTabletMode;
|
return m_isTabletMode;
|
||||||
|
|
|
@ -36,7 +36,7 @@ class TabletModeManager : public QObject
|
||||||
Q_PROPERTY(bool tabletMode READ isTablet NOTIFY tabletModeChanged)
|
Q_PROPERTY(bool tabletMode READ isTablet NOTIFY tabletModeChanged)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
~TabletModeManager();
|
~TabletModeManager() = default;
|
||||||
bool isTablet() const;
|
bool isTablet() const;
|
||||||
void setIsTablet(bool tablet);
|
void setIsTablet(bool tablet);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue