mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-13 10:32:11 +01:00
Windows: Fix crash when unloading AutoScroll plugin
This commit is contained in:
parent
55b9f2c515
commit
d29861fdff
|
@ -45,6 +45,11 @@ AutoScroller::AutoScroller(const QString &settingsFile, QObject* parent)
|
||||||
settings.endGroup();
|
settings.endGroup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AutoScroller::~AutoScroller()
|
||||||
|
{
|
||||||
|
delete m_indicator;
|
||||||
|
}
|
||||||
|
|
||||||
bool AutoScroller::mouseMove(QObject* obj, QMouseEvent* event)
|
bool AutoScroller::mouseMove(QObject* obj, QMouseEvent* event)
|
||||||
{
|
{
|
||||||
Q_UNUSED(obj)
|
Q_UNUSED(obj)
|
||||||
|
|
|
@ -33,6 +33,7 @@ class AutoScroller : public QObject
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit AutoScroller(const QString &settingsFile, QObject* parent = 0);
|
explicit AutoScroller(const QString &settingsFile, QObject* parent = 0);
|
||||||
|
~AutoScroller();
|
||||||
|
|
||||||
bool mouseMove(QObject* obj, QMouseEvent* event);
|
bool mouseMove(QObject* obj, QMouseEvent* event);
|
||||||
bool mousePress(QObject* obj, QMouseEvent* event);
|
bool mousePress(QObject* obj, QMouseEvent* event);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user