updated styling and fixed windows compiling

This commit is contained in:
itsmattkc
2019-07-01 11:39:25 -07:00
parent 026c500802
commit 8f6cb7a2cb
9 changed files with 12 additions and 48 deletions
-11
View File
@@ -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);
//}
}