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
e247b46b
Commit
e247b46b
authored
May 05, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(ui/views/App/Main/About): display the Qt version
parent
c27a8b7a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
App.hpp
linphone-desktop/src/app/App.hpp
+5
-1
About.qml
linphone-desktop/ui/views/App/Main/About.qml
+1
-1
No files found.
linphone-desktop/src/app/App.hpp
View file @
e247b46b
...
...
@@ -40,6 +40,7 @@ class App : public SingleApplication {
Q_PROPERTY
(
QString
configLocale
READ
getConfigLocale
WRITE
setConfigLocale
NOTIFY
configLocaleChanged
);
Q_PROPERTY
(
QString
locale
READ
getLocale
CONSTANT
);
Q_PROPERTY
(
QVariantList
availableLocales
READ
getAvailableLocales
CONSTANT
);
Q_PROPERTY
(
QString
qtVersion
READ
getQtVersion
CONSTANT
);
public:
App
(
int
&
argc
,
char
*
argv
[]);
...
...
@@ -70,7 +71,6 @@ public:
}
Q_INVOKABLE
static
void
smartShowWindow
(
QQuickWindow
*
window
);
Q_INVOKABLE
static
QString
convertUrlToLocalPath
(
const
QUrl
&
url
);
public
slots
:
...
...
@@ -94,6 +94,10 @@ private:
void
openAppAfterInit
();
static
QString
getQtVersion
()
{
return
qVersion
();
}
QCommandLineParser
mParser
;
QVariantList
mAvailableLocales
;
...
...
linphone-desktop/ui/views/App/Main/About.qml
View file @
e247b46b
...
...
@@ -52,7 +52,7 @@ DialogPlus {
color
:
AboutStyle
.
versionsBlock
.
appVersion
.
color
elide
:
Text
.
ElideRight
font.pointSize
:
AboutStyle
.
versionsBlock
.
appVersion
.
fontSize
text
:
'
Linphone Desktop
'
+
Qt
.
application
.
version
text
:
'
Linphone Desktop
Qt
'
+
App
.
qtVersion
+
'
-
'
+
Qt
.
application
.
version
height
:
parent
.
height
/
2
width
:
parent
.
width
...
...
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