From 6e0fb0d597fe1b24a28c81ebc8883fb314854647 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Wed, 16 Jan 2013 13:17:39 +0100 Subject: [PATCH] * Added fullscreen action to ActionCollection. --- src/libtomahawk/ActionCollection.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libtomahawk/ActionCollection.cpp b/src/libtomahawk/ActionCollection.cpp index 6ce9b0f36..7306bb13c 100644 --- a/src/libtomahawk/ActionCollection.cpp +++ b/src/libtomahawk/ActionCollection.cpp @@ -112,6 +112,8 @@ ActionCollection::initActions() m_actionCollection[ "minimize" ]->setShortcut( QKeySequence( "Ctrl+M" ) ); m_actionCollection[ "zoom" ] = new QAction( tr( "Zoom" ), this ); m_actionCollection[ "zoom" ]->setShortcut( QKeySequence( "Meta+Ctrl+Z" ) ); + m_actionCollection[ "fullscreen" ] = new QAction( tr( "Enter Full Screen" ), this ); + m_actionCollection[ "fullscreen" ]->setShortcut( QKeySequence( "Meta+Ctrl+F" ) ); #else m_actionCollection[ "toggleMenuBar" ] = new QAction( tr( "Hide Menu Bar" ), this ); m_actionCollection[ "toggleMenuBar" ]->setShortcut( QKeySequence( "Ctrl+M" ) ); @@ -189,6 +191,7 @@ ActionCollection::createMenuBar( QWidget *parent ) QMenu* windowMenu = new QMenu( tr( "&Window" ), menuBar ); windowMenu->addAction( m_actionCollection[ "minimize" ] ); windowMenu->addAction( m_actionCollection[ "zoom" ] ); + windowMenu->addAction( m_actionCollection[ "fullscreen" ] ); menuBar->addMenu( windowMenu ); #endif