From a66daf77ace11cdf4f91aeae01a72da11cad5ff2 Mon Sep 17 00:00:00 2001
From: "littletux89@gmail.com" <littletux89@gmail.com>
Date: Thu, 12 Dec 2019 18:34:27 +0300
Subject: [PATCH] [*] Corrected the code so that it was going to yat 5.9.7.

---
 CellFrameDashboardGUI/main.cpp                              | 2 +-
 .../screen/Dashboard/DapUiQmlScreenDashboard.qml            | 2 +-
 CellFrameDashboardGUI/screen/LastAction/DapRadioButton.qml  | 6 +++---
 .../screen/StatusBar/DapUiQmlWidgetStatusBar.qml            | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/CellFrameDashboardGUI/main.cpp b/CellFrameDashboardGUI/main.cpp
index 5551f3145..700a203cf 100644
--- a/CellFrameDashboardGUI/main.cpp
+++ b/CellFrameDashboardGUI/main.cpp
@@ -95,7 +95,7 @@ int main(int argc, char *argv[])
     engine.rootContext()->setContextProperty("dapWalletFilterModel", &DapWalletFilterModel::instance());
     engine.rootContext()->setContextProperty("dapWalletModel", &DapChainWalletModel::instance());
     engine.rootContext()->setContextProperty("clipboard", &DapClipboard::instance());
-    engine.rootContext()->setContextProperty("pt", 1.3);
+    engine.rootContext()->setContextProperty("pt", 1.0);
     engine.load(QUrl("qrc:/screen/main.qml"));
 
     if (engine.rootObjects().isEmpty())
diff --git a/CellFrameDashboardGUI/screen/Dashboard/DapUiQmlScreenDashboard.qml b/CellFrameDashboardGUI/screen/Dashboard/DapUiQmlScreenDashboard.qml
index aceff54ef..f1c2642f5 100644
--- a/CellFrameDashboardGUI/screen/Dashboard/DapUiQmlScreenDashboard.qml
+++ b/CellFrameDashboardGUI/screen/Dashboard/DapUiQmlScreenDashboard.qml
@@ -1,5 +1,5 @@
 import QtQuick 2.0
-import QtQuick.Controls 2.0
+import QtQuick.Controls 1.4
 import QtQuick.Layouts 1.0
 import "../"
 
diff --git a/CellFrameDashboardGUI/screen/LastAction/DapRadioButton.qml b/CellFrameDashboardGUI/screen/LastAction/DapRadioButton.qml
index d55329d95..85c3f03cf 100644
--- a/CellFrameDashboardGUI/screen/LastAction/DapRadioButton.qml
+++ b/CellFrameDashboardGUI/screen/LastAction/DapRadioButton.qml
@@ -1,5 +1,5 @@
-import QtQuick 2.12
-import QtQuick.Controls 2.12
+import QtQuick 2.0
+import QtQuick.Controls 2.0
 
 RadioButton {
     property alias textButton: nameButton.text
@@ -23,7 +23,7 @@ RadioButton {
 
     spacing: 16 * pt
     checked: false
-    display: AbstractButton.TextBesideIcon
+//    display: AbstractButton.TextBesideIcon
     autoExclusive: true
 }
 
diff --git a/CellFrameDashboardGUI/screen/StatusBar/DapUiQmlWidgetStatusBar.qml b/CellFrameDashboardGUI/screen/StatusBar/DapUiQmlWidgetStatusBar.qml
index 780b25739..8fcd540cc 100644
--- a/CellFrameDashboardGUI/screen/StatusBar/DapUiQmlWidgetStatusBar.qml
+++ b/CellFrameDashboardGUI/screen/StatusBar/DapUiQmlWidgetStatusBar.qml
@@ -42,7 +42,7 @@ Rectangle {
                 normalColorText:"#FFFFFF"
                 hilightColorTopText:"#332F49"
                 hilightColor: "#332F49"
-                fontSizeComboBox: 14*px
+                fontSizeComboBox: 14*pt
             }
             Label {
                 id: titleWalletBalance
-- 
GitLab