updated styling and fixed windows compiling
This commit is contained in:
@@ -25,8 +25,6 @@
|
||||
Menu::Menu(QMenuBar *bar, const QObject* receiver, const char* member) :
|
||||
QMenu(bar)
|
||||
{
|
||||
SetStyling();
|
||||
|
||||
bar->addMenu(this);
|
||||
|
||||
if (receiver != nullptr) {
|
||||
@@ -37,8 +35,6 @@ Menu::Menu(QMenuBar *bar, const QObject* receiver, const char* member) :
|
||||
Menu::Menu(Menu *menu, const QObject *receiver, const char *member) :
|
||||
QMenu(menu)
|
||||
{
|
||||
SetStyling();
|
||||
|
||||
menu->addMenu(this);
|
||||
|
||||
if (receiver != nullptr) {
|
||||
@@ -85,10 +81,3 @@ void Menu::SetBooleanAction(QAction *a, bool* boolean)
|
||||
a->setChecked(*boolean);
|
||||
a->setProperty("boolptr", reinterpret_cast<quintptr>(boolean));
|
||||
}
|
||||
|
||||
void Menu::SetStyling()
|
||||
{
|
||||
//if (olive::config.use_native_menu_styling) {
|
||||
olive::style::WidgetSetNative(this);
|
||||
//}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user