diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-02-16 18:13:29 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-02-16 18:13:29 +0000 |
| commit | 97350da0f00f48c7b6dc957a1e3d469e896e26f8 (patch) | |
| tree | 0640ad253967f1f305ec0956845283057722eabc /src/plugins/Visual/projectm/projectmwidget.cpp | |
| parent | 283814627de1f7e755c89b6bf1caa75589a05d16 (diff) | |
| download | qmmp-97350da0f00f48c7b6dc957a1e3d469e896e26f8.tar.gz qmmp-97350da0f00f48c7b6dc957a1e3d469e896e26f8.tar.bz2 qmmp-97350da0f00f48c7b6dc957a1e3d469e896e26f8.zip | |
projectm: fixed regressions
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4097 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Visual/projectm/projectmwidget.cpp')
| -rw-r--r-- | src/plugins/Visual/projectm/projectmwidget.cpp | 7 |
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(); |
