[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bbluedevil=5D_src/monolithic=3A_First_manage_the_pow?=
From: Alex Fiestas <afiestas () kde ! org>
Date: 2011-02-21 2:36:31
Message-ID: 20110221023631.2514CA60C6 () git ! kde ! org
[Download RAW message or body]
Git commit e977ab18ceafc0a45937f2b0705448954cd29423 by Alex Fiestas.
Committed on 20/02/2011 at 19:41.
Pushed by afiestas into branch 'master'.
First manage the poweredChange logic and then the others
First manage the poweredChange logic which is setting the tooltip
status as true/false and change the overlay icon. once that is
done regenerateDeviceEntries and ConnectedDevice.
M +2 -3 src/monolithic/monolithic.cpp
http://commits.kde.org/bluedevil/e977ab18ceafc0a45937f2b0705448954cd29423
diff --git a/src/monolithic/monolithic.cpp b/src/monolithic/monolithic.cpp
index eb49ff2..46d0106 100644
--- a/src/monolithic/monolithic.cpp
+++ b/src/monolithic/monolithic.cpp
@@ -591,9 +591,6 @@ void Monolithic::UUIDsChanged(const QStringList &UUIDs)
void Monolithic::poweredChanged()
{
- regenerateDeviceEntries();
- regenerateConnectedDevices();
-
if (!poweredAdapters()) {
setTooltipTitleStatus(false);
setToolTipSubTitle("");
@@ -602,6 +599,8 @@ void Monolithic::poweredChanged()
setTooltipTitleStatus(true);
setOverlayIconByName(QString());
}
+ regenerateDeviceEntries();
+ regenerateConnectedDevices();
}
void Monolithic::deviceCreated(Device *device)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic