From: Shane Synan Date: Tue, 17 Jul 2018 17:56:10 +0000 (-0500) Subject: client: Unify CoreHighlightSettingsPage tooltips X-Git-Tag: 0.13-rc1~6 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=104fc173064beb7bd8848c962581a7b8e529f94d;hp=104fc173064beb7bd8848c962581a7b8e529f94d client: Unify CoreHighlightSettingsPage tooltips Move setting tooltips to a generic function, setupTableTooltips(), to keep tooltips consistent. This fixes outdated tooltips in the highlight ignore rules table and reduces duplication. Add another function getTableTooltip() for getting the tooltips themselves. Unfortunately, QTableWidgetItem does not inherit from QWidget, so function overloading (or equivalent) is necessary. Alas, std::variant is C++17... ---