From c3d0353bda5de03bc55bd4923c3662b4a42ffed2 Mon Sep 17 00:00:00 2001 From: JoshDW19 Date: Tue, 26 Apr 2016 13:02:20 -0400 Subject: Adds a class name for settingsmenu.cpp. Add a slight margin on qmenu objects. --- src-qt5/core/lumina-desktop/SettingsMenu.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src-qt5/core/lumina-desktop/SettingsMenu.cpp') diff --git a/src-qt5/core/lumina-desktop/SettingsMenu.cpp b/src-qt5/core/lumina-desktop/SettingsMenu.cpp index 540538b5..10ada2cf 100644 --- a/src-qt5/core/lumina-desktop/SettingsMenu.cpp +++ b/src-qt5/core/lumina-desktop/SettingsMenu.cpp @@ -10,6 +10,7 @@ #include SettingsMenu::SettingsMenu() : QMenu(){ + this->setObjectName("SettingsMenu"); connect(this, SIGNAL(triggered(QAction*)), this, SLOT(runApp(QAction*)) ); connect(QApplication::instance(), SIGNAL(LocaleChanged()), this, SLOT(UpdateMenu()) ); connect(QApplication::instance(), SIGNAL(IconThemeChanged()), this, SLOT(UpdateMenu()) ); @@ -17,7 +18,7 @@ SettingsMenu::SettingsMenu() : QMenu(){ } SettingsMenu::~SettingsMenu(){ - + } void SettingsMenu::UpdateMenu(){ -- cgit