diff options
Diffstat (limited to 'src/plugins/macros/macro.cpp')
-rw-r--r-- | src/plugins/macros/macro.cpp | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/plugins/macros/macro.cpp b/src/plugins/macros/macro.cpp index 8e132df7113..622d6580ce4 100644 --- a/src/plugins/macros/macro.cpp +++ b/src/plugins/macros/macro.cpp @@ -60,12 +60,10 @@ public: QString version; QString fileName; QList<MacroEvent> events; - int shortcutId; }; Macro::MacroPrivate::MacroPrivate() : - version(Core::Constants::IDE_VERSION_LONG), - shortcutId(-1) + version(Core::Constants::IDE_VERSION_LONG) { } @@ -85,7 +83,6 @@ Macro::Macro(const Macro &other): d->version = other.d->version; d->fileName = other.d->fileName; d->events = other.d->events; - d->shortcutId = other.d->shortcutId; } Macro::~Macro() @@ -101,7 +98,6 @@ Macro& Macro::operator=(const Macro &other) d->version = other.d->version; d->fileName = other.d->fileName; d->events = other.d->events; - d->shortcutId = other.d->shortcutId; return *this; } @@ -191,16 +187,6 @@ const QList<MacroEvent> &Macro::events() const return d->events; } -void Macro::setShortcutId(int id) -{ - d->shortcutId = id; -} - -int Macro::shortcutId() const -{ - return d->shortcutId; -} - bool Macro::isWritable() const { QFileInfo fileInfo(d->fileName); |