Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
652ad4a2
Commit
652ad4a2
authored
May 16, 2017
by
Sylvain Berfini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed menu items shortcuts
parent
8297e5c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
3 deletions
+23
-3
MainWindowMenuBar.qml
linphone-desktop/ui/views/App/Main/MainWindowMenuBar.qml
+23
-3
No files found.
linphone-desktop/ui/views/App/Main/MainWindowMenuBar.qml
View file @
652ad4a2
...
...
@@ -22,7 +22,17 @@ Item {
title
:
qsTr
(
'
options
'
)
MenuItem
{
shortcut
:
'
Ctrl+P
'
shortcut
:
Shortcut
{
sequence
:
StandardKey
.
Preferences
onActivated
:
{
var
window
=
App
.
getSettingsWindow
()
if
(
window
.
visibility
===
Window
.
Minimized
)
{
window
.
visibility
=
Window
.
AutomaticVisibility
}
else
{
window
.
setVisible
(
true
)
}
}
}
text
:
qsTr
(
'
settings
'
)
onTriggered
:
{
...
...
@@ -38,7 +48,11 @@ Item {
MenuSeparator
{}
MenuItem
{
shortcut
:
StandardKey
.
Quit
shortcut
:
Shortcut
{
sequence
:
StandardKey
.
Quit
context
:
Qt
.
ApplicationShortcut
onActivated
:
Qt
.
quit
()
}
text
:
qsTr
(
'
quit
'
)
onTriggered
:
Qt
.
quit
()
...
...
@@ -67,7 +81,13 @@ Item {
title
:
qsTr
(
'
help
'
)
MenuItem
{
shortcut
:
StandardKey
.
HelpContents
shortcut
:
Shortcut
{
sequence
:
StandardKey
.
HelpContents
onActivated
:
{
window
.
detachVirtualWindow
()
window
.
attachVirtualWindow
(
Qt
.
resolvedUrl
(
'
About.qml
'
))
}
}
text
:
qsTr
(
'
about
'
)
onTriggered
:
{
...
...
Write
Preview
Markdown
is supported
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