From: Shane Synan Date: Thu, 1 Mar 2018 08:29:29 +0000 (-0600) Subject: client: Fix Local Highlights import to remote X-Git-Tag: travis-deploy-test~95 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=3dd3e015a63cd5289e693867c27ec50779a3608d 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. --- 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; };