mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-03 22:56:49 +00:00
feat(ui/views/App/Main/About): display the Qt version
This commit is contained in:
parent
c27a8b7ac8
commit
e247b46b73
2 changed files with 6 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue