mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 03:59:38 +00:00
Add Qt Runtime version to settings page
This commit is contained in:
parent
fbe5ba8317
commit
4e6a4213ff
2 changed files with 3 additions and 1 deletions
2
main.cpp
2
main.cpp
|
@ -173,6 +173,8 @@ int main(int argc, char *argv[])
|
|||
|
||||
engine.rootContext()->setContextProperty("mainApp", &app);
|
||||
|
||||
engine.rootContext()->setContextProperty("qtRuntimeVersion", qVersion());
|
||||
|
||||
// Exclude daemon manager from IOS
|
||||
#ifndef Q_OS_IOS
|
||||
DaemonManager * daemonManager = DaemonManager::instance(&arguments);
|
||||
|
|
|
@ -623,7 +623,7 @@ Rectangle {
|
|||
Layout.topMargin: 8
|
||||
font.pixelSize: 14
|
||||
Layout.fillWidth: true
|
||||
text: qsTr("GUI version: ") + Version.GUI_VERSION + translationManager.emptyString
|
||||
text: qsTr("GUI version: ") + Version.GUI_VERSION + " (Qt " + qtRuntimeVersion + ")" + translationManager.emptyString
|
||||
}
|
||||
TextBlock {
|
||||
id: guiMoneroVersion
|
||||
|
|
Loading…
Reference in a new issue