diff --git a/plugins/menu/applet.cpp b/plugins/menu/applet.cpp index 267acec64a8229529f59acea9efeefb036c7aa93..3ab38f6291f5af676eaa78d7d15ec3c1d5230c5e 100644 --- a/plugins/menu/applet.cpp +++ b/plugins/menu/applet.cpp @@ -53,7 +53,7 @@ Applet::Applet(IAppletImport *import) setFixedSize(size, size); m_appletButton = new StyledButton(this); - int iconSize = size - BUTTON_BLANK_SPACE * 2; + //int iconSize = size - BUTTON_BLANK_SPACE * 2; // m_appletButton->setIconSize(QSize(iconSize, iconSize)); m_appletButton->setIconSize(QSize(24, 24)); @@ -68,7 +68,7 @@ Applet::Applet(IAppletImport *import) layout->addWidget(m_appletButton); QObject *Object = dynamic_cast(m_import->getPanel()); - bool ret = connect(Object, SIGNAL(panelProfileChanged()), this, SLOT(updateLayout())); + connect(Object, SIGNAL(panelProfileChanged()), this, SLOT(updateLayout())); updateLayout(); }