menu: removed unused function
Hold-over from 0.1, we have better ways of achieving this now.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -226,8 +226,6 @@ public:
|
||||
const QString& id,
|
||||
const QString& key = QString());
|
||||
|
||||
static void SetBooleanAction(QAction* a, bool *boolean);
|
||||
|
||||
private:
|
||||
void Init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user