aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Visual/projectm/projectmwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Visual/projectm/projectmwidget.cpp')
-rw-r--r--src/plugins/Visual/projectm/projectmwidget.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/plugins/Visual/projectm/projectmwidget.cpp b/src/plugins/Visual/projectm/projectmwidget.cpp
index b43441f28..d39290efd 100644
--- a/src/plugins/Visual/projectm/projectmwidget.cpp
+++ b/src/plugins/Visual/projectm/projectmwidget.cpp
@@ -169,7 +169,7 @@ void ProjectMWidget::createActions()
m_menu->addAction(tr("&Random Preset"), this, SLOT(randomPreset()), tr("R"));
m_menu->addAction(tr("&Lock Preset"), this, SLOT(lockPreset(bool)), tr("L"))->setCheckable(true);
m_menu->addSeparator();
- m_menu->addAction(tr("&Fullscreen"), this, SLOT(fullScreen()), tr("F"));
+ m_menu->addAction(tr("&Fullscreen"), this, SIGNAL(fullscreenToggled(bool)), tr("F"))->setCheckable(true);
m_menu->addSeparator();
addActions(m_menu->actions());
}
@@ -209,11 +209,6 @@ void ProjectMWidget::lockPreset(bool lock)
m_projectM->setPresetLock(lock);
}
-void ProjectMWidget::fullScreen()
-{
- parentWidget()->setWindowState (parentWidget()->windowState() ^Qt::WindowFullScreen);
-}
-
void ProjectMWidget::updateTitle()
{
std::string artist = SoundCore::instance()->metaData(Qmmp::ARTIST).toLocal8Bit().constData();