mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +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();
|
||||
}
|
||||
|
||||
AutoScroller::~AutoScroller()
|
||||
{
|
||||
delete m_indicator;
|
||||
}
|
||||
|
||||
bool AutoScroller::mouseMove(QObject* obj, QMouseEvent* event)
|
||||
{
|
||||
Q_UNUSED(obj)
|
||||
|
|
|
@ -33,6 +33,7 @@ class AutoScroller : public QObject
|
|||
Q_OBJECT
|
||||
public:
|
||||
explicit AutoScroller(const QString &settingsFile, QObject* parent = 0);
|
||||
~AutoScroller();
|
||||
|
||||
bool mouseMove(QObject* obj, QMouseEvent* event);
|
||||
bool mousePress(QObject* obj, QMouseEvent* event);
|
||||
|
|
Loading…
Reference in New Issue
Block a user