From feb411fb2a320284cb01ee9f5ca13baf105c1f29 Mon Sep 17 00:00:00 2001 From: Chris Bessent Date: Sun, 23 Jan 2022 08:25:58 -0700 Subject: Force priority of primary plugins This fixes a problem with new instances where the primary plugins would be ordered alphabetically instead of in the correct order. --- src/pluginlist.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/pluginlist.h') diff --git a/src/pluginlist.h b/src/pluginlist.h index a4310d2a..a6efa71b 100644 --- a/src/pluginlist.h +++ b/src/pluginlist.h @@ -353,11 +353,12 @@ private: void writeLockedOrder(const QString &fileName) const; void readLockedOrderFrom(const QString &fileName); - void setPluginPriority(int row, int &newPriority); + void setPluginPriority(int row, int &newPriority, bool isForced=false); void changePluginPriority(std::vector rows, int newPriority); void testMasters(); + void fixPrimaryPlugins(); void fixPriorities(); int findPluginByPriority(int priority); -- cgit v1.3.1