[vlmc-devel] commit: Adding project preferences shortcut. ( Hugo Beauzée-Luyssen )
git at videolan.org
git at videolan.org
Tue Jul 20 11:53:39 CEST 2010
vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Tue Jul 20 11:53:42 2010 +0200| [7a0d0f033839b488596f5ec6d0e074537259b85f] | committer: Hugo Beauzée-Luyssen
Adding project preferences shortcut.
It was hardcoded in the MainWindow.ui, not it can be edited.
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=7a0d0f033839b488596f5ec6d0e074537259b85f
---
src/Gui/MainWindow.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp
index 2651e02..35b5a26 100644
--- a/src/Gui/MainWindow.cpp
+++ b/src/Gui/MainWindow.cpp
@@ -209,6 +209,10 @@ MainWindow::initVlmcPreferences()
QT_TRANSLATE_NOOP( "PreferenceWidget", "Preferences" ),
QT_TRANSLATE_NOOP( "PreferenceWidget", "Open VLMC preferences" ), actionPreferences );
+ CREATE_MENU_SHORTCUT( "keyboard/projectpreferences", "Ctrl+P",
+ QT_TRANSLATE_NOOP( "PreferenceWidget", "Project preferences" ),
+ QT_TRANSLATE_NOOP( "PreferenceWidget", "Open the project preferences"), actionProject_Preferences );
+
CREATE_MENU_SHORTCUT( "keyboard/fullscreen", "F",
QT_TRANSLATE_NOOP( "PreferenceWidget", "Fullscreen" ),
QT_TRANSLATE_NOOP( "PreferenceWidget", "Switch to fullscreen mode" ), actionFullscreen );
More information about the Vlmc-devel
mailing list