mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-16 11:04:01 +02:00
Store scriptObject in a QPointer in ScriptPlugin
This commit is contained in:
@@ -20,8 +20,11 @@
|
||||
#ifndef TOMAHAWK_SCRIPTPLUGIN_H
|
||||
#define TOMAHAWK_SCRIPTPLUGIN_H
|
||||
|
||||
#include "ScriptObject.h"
|
||||
#include "../DllMacro.h"
|
||||
|
||||
#include <QPointer>
|
||||
|
||||
namespace Tomahawk {
|
||||
|
||||
class ScriptObject;
|
||||
@@ -35,7 +38,7 @@ public:
|
||||
ScriptObject* scriptObject() const;
|
||||
|
||||
protected: // TODO: pimple
|
||||
ScriptObject* m_scriptObject;
|
||||
QPointer< ScriptObject > m_scriptObject;
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user