client: Fix Local Highlights import to remote
authorShane Synan <digitalcircuit36939@gmail.com>
Thu, 1 Mar 2018 08:29:29 +0000 (02:29 -0600)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 6 Jun 2018 17:15:14 +0000 (19:15 +0200)
Make "importRules()" a private slot, not just a private function.
This allows the button signal to connect to this function, making
imports work.

src/qtui/settingspages/corehighlightsettingspage.h

index 62abae8..5859d00 100644 (file)
@@ -62,6 +62,12 @@ private slots:
     void highlightTableChanged(QTableWidgetItem *item);
     void ignoredTableChanged(QTableWidgetItem *item);
 
+    /** Import local Highlight rules into the Core Highlight rules
+     *
+     * Iterates through all local highlight rules, converting each into core-side highlight rules.
+     */
+    void importRules();
+
 private:
     Ui::CoreHighlightSettingsPage ui;
 
@@ -83,7 +89,5 @@ private:
 
     void setupRuleTable(QTableWidget *highlightTable) const;
 
-    void importRules();
-
     bool _initialized;
 };