[Pkg-running-devel] [openambit] 18/131: Hide syncall checkbox if nothing to sync
Christian Perrier
bubulle at moszumanska.debian.org
Thu Jul 17 20:19:07 UTC 2014
This is an automated email from the git hooks/post-receive script.
bubulle pushed a commit to branch master
in repository openambit.
commit 40a291038b1973758c57cf4bb1807e380245783e
Author: Emil Ljungdahl <emil at kratern.se>
Date: Sat Dec 14 12:52:36 2013 +0100
Hide syncall checkbox if nothing to sync
---
src/openambit/mainwindow.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/openambit/mainwindow.cpp b/src/openambit/mainwindow.cpp
index ddbdc5b..89cdf4a 100644
--- a/src/openambit/mainwindow.cpp
+++ b/src/openambit/mainwindow.cpp
@@ -37,6 +37,7 @@ MainWindow::MainWindow(QWidget *parent) :
ui->labelNotSupported->setHidden(true);
ui->labelCharge->setHidden(true);
ui->chargeIndicator->setHidden(true);
+ ui->checkBoxResyncAll->setHidden(true);
ui->buttonSyncNow->setHidden(true);
ui->syncProgressBar->setHidden(true);
@@ -102,6 +103,7 @@ void MainWindow::deviceDetected(ambit_device_info_t deviceInfo, bool supported)
ui->labelNotSupported->setHidden(false);
ui->labelCharge->setHidden(true);
ui->chargeIndicator->setHidden(true);
+ ui->checkBoxResyncAll->setHidden(true);
ui->buttonSyncNow->setHidden(true);
ui->syncProgressBar->setHidden(true);
}
@@ -110,6 +112,7 @@ void MainWindow::deviceDetected(ambit_device_info_t deviceInfo, bool supported)
ui->labelNotSupported->setHidden(true);
ui->labelCharge->setHidden(false);
ui->chargeIndicator->setHidden(false);
+ ui->checkBoxResyncAll->setHidden(false);
ui->buttonSyncNow->setHidden(false);
}
}
@@ -122,6 +125,7 @@ void MainWindow::deviceRemoved(void)
ui->labelNotSupported->setHidden(true);
ui->labelCharge->setHidden(true);
ui->chargeIndicator->setHidden(true);
+ ui->checkBoxResyncAll->setHidden(true);
ui->buttonSyncNow->setHidden(true);
ui->syncProgressBar->setHidden(true);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-running/openambit.git
More information about the Pkg-running-devel
mailing list