From 97350da0f00f48c7b6dc957a1e3d469e896e26f8 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 16 Feb 2014 18:13:29 +0000 Subject: projectm: fixed regressions git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4097 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Visual/projectm/projectmwidget.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/plugins/Visual/projectm/projectmwidget.cpp') 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(); -- cgit v1.2.3-13-gbd6f