From 3dd3e015a63cd5289e693867c27ec50779a3608d Mon Sep 17 00:00:00 2001 From: Shane Synan Date: Thu, 1 Mar 2018 02:29:29 -0600 Subject: [PATCH] client: Fix Local Highlights import to remote 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 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/qtui/settingspages/corehighlightsettingspage.h b/src/qtui/settingspages/corehighlightsettingspage.h index 62abae8f..5859d00c 100644 --- a/src/qtui/settingspages/corehighlightsettingspage.h +++ b/src/qtui/settingspages/corehighlightsettingspage.h @@ -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; }; -- 2.20.1