Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLMC
Commits
159802e6
Commit
159802e6
authored
Nov 04, 2009
by
Hugo Beauzee-Luyssen
Browse files
Adding keyboard shortcut for starting project preview
parent
1d1585f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/GUI/MainWindow.cpp
View file @
159802e6
...
...
@@ -289,6 +289,8 @@ void MainWindow::initializeDockWidgets( void )
Qt
::
AllDockWidgetAreas
,
QDockWidget
::
AllDockWidgetFeatures
,
Qt
::
TopDockWidgetArea
);
QShortcut
*
shortcut
=
new
QShortcut
(
QKeySequence
(
tr
(
"Space"
,
"Start preview"
)
),
this
);
connect
(
shortcut
,
SIGNAL
(
activated
()
),
m_projectPreview
,
SLOT
(
on_pushButtonPlay_clicked
()
)
);
dockManager
->
addDockedWidget
(
UndoStack
::
getInstance
(
this
),
tr
(
"History"
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment