[Pkg-privacy-commits] [tails-installer] 04/04: Got rid of the BusyIndicator eating up CPU up to 100%
Intrigeri
intrigeri at moszumanska.debian.org
Wed May 24 15:27:54 UTC 2017
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to tag 3.93.3
in repository tails-installer.
commit d3f1c2846333c52e3125c35d9cc80a6f3ac28186
Author: Martin Briza <mbriza at redhat.com>
Date: Mon Apr 25 17:00:10 2016 +0200
Got rid of the BusyIndicator eating up CPU up to 100%
---
liveusb/components/DownloadDialog.qml | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/liveusb/components/DownloadDialog.qml b/liveusb/components/DownloadDialog.qml
index 76fba58..62be2b6 100644
--- a/liveusb/components/DownloadDialog.qml
+++ b/liveusb/components/DownloadDialog.qml
@@ -1,5 +1,6 @@
import QtQuick 2.3
import QtQuick.Controls 1.2
+import QtQuick.Controls.Styles 1.2
import QtQuick.Dialogs 1.2
import QtQuick.Layouts 1.1
import QtQuick.Window 2.0
@@ -269,17 +270,12 @@ Dialog {
currentIndex = -1
}
- enabled: !liveUSBData.currentImage.writer.running
+ enabled: !liveUSBData.currentImage.writer.running && liveUSBData.usbDriveNames.length > 0
Row {
- spacing: $(8)
+ spacing: $(6)
anchors.fill: parent
- anchors.leftMargin: $(8)
+ anchors.leftMargin: $(12)
visible: liveUSBData.usbDriveNames.length <= 0
- BusyIndicator {
- anchors.verticalCenter: parent.verticalCenter
- height: parent.height * 0.6
- width: height
- }
Text {
height: parent.height
verticalAlignment: Text.AlignVCenter
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git
More information about the Pkg-privacy-commits
mailing list