summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÀlex Fiestas <afiestas@kde.org>2014-03-09 03:04:11 (GMT)
committerÀlex Fiestas <afiestas@kde.org>2014-03-09 03:04:11 (GMT)
commitc76d6e50ba6466403457371ab8416b0600af4a77 (patch)
treeb86a0951547462043ffcf8c4812dc77506b540ce
parentd013cc20ac413f961dec49eb6ce1c25c8a7be70d (diff)
Do not set the Adapter back to powered
This seems to be some code back from the port, an attemp to save the state. Imho the library should not do that but rather an external entity such the bluedevil daemon. BUG:329411
-rw-r--r--bluedevil/bluedeviladapter.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/bluedevil/bluedeviladapter.cpp b/bluedevil/bluedeviladapter.cpp
index efaff77..668934a 100644
--- a/bluedevil/bluedeviladapter.cpp
+++ b/bluedevil/bluedeviladapter.cpp
@@ -127,8 +127,6 @@ Adapter::Adapter(const QString &adapterPath, QObject *parent)
connect(d->m_dbusPropertiesInterface, SIGNAL(PropertiesChanged(QString,QVariantMap,QStringList)),
this, SLOT(_k_propertyChanged(QString,QVariantMap,QStringList)));
-
- setPowered(true); // TODO: remember powered setting.
}
Adapter::~Adapter()