menu: removed unused function

Hold-over from 0.1, we have better ways of achieving this now.
This commit is contained in:
itsmattkc
2020-10-11 23:27:56 +11:00
parent f7ab0bb640
commit 9d9b25dc11
2 changed files with 0 additions and 10 deletions
-8
View File
@@ -100,14 +100,6 @@ void Menu::ConformItem(QAction *a, const QString &id, const QString &key)
}
}
void Menu::SetBooleanAction(QAction *a, bool* boolean)
{
// FIXME: Connect to some boolean function
a->setCheckable(true);
a->setChecked(*boolean);
a->setProperty("boolptr", reinterpret_cast<quintptr>(boolean));
}
void Menu::Init()
{
// HACK: Disables embossing on disabled text for a slightly nicer UI
-2
View File
@@ -226,8 +226,6 @@ public:
const QString& id,
const QString& key = QString());
static void SetBooleanAction(QAction* a, bool *boolean);
private:
void Init();