diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-10-31 16:08:05 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-11-03 11:41:53 -0500 |
| commit | 356d17b2ea70d9bfdc36d8199e12eb21cd3d4669 (patch) | |
| tree | 983e62821e1f9ebc0c2af578ce5c91c80a48dc91 /src/pluginlist.cpp | |
| parent | 4c5e3da2334a1d0c474148be8881b46d6ca6d3fa (diff) | |
fixes after rebasing
Diffstat (limited to 'src/pluginlist.cpp')
| -rw-r--r-- | src/pluginlist.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/pluginlist.cpp b/src/pluginlist.cpp index 7134d246..bda360ba 100644 --- a/src/pluginlist.cpp +++ b/src/pluginlist.cpp @@ -801,7 +801,7 @@ bool PluginList::setPriority(const QString& name, int newPriority) { int rowIndex = findPluginByPriority(oldPriority);
- // We need to increment newPriority if its above the old one, otherwise the
+ // We need to increment newPriority if its above the old one, otherwise the
// plugin is place right below the new priority.
if (oldPriority < newPriority) {
newPriority += 1;
@@ -1702,6 +1702,11 @@ void DummyPluginList::setLoadOrder(const QStringList &pluginList) {
}
+bool DummyPluginList::setPriority(const QString&, int)
+{
+ return true;
+}
+
bool DummyPluginList::isMaster(const QString &name) const
{
return false;
@@ -1727,7 +1732,7 @@ bool DummyPluginList::onPluginMoved(const std::function<void (const QString &, i return true;
}
-bool DummyPluginList::onPluginStateChanged(const std::function<void (const QString &, PluginStates)> &func)
+bool DummyPluginList::onPluginStateChanged(const std::function<void (const std::map<QString, PluginStates>&)> &func)
{
return true;
}
|
