mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2026-10-23 21:35:02 +00:00
small fix
This commit is contained in:
1 parent
43de4e5738
commit
32683a89b9
5 files changed
+9
-9
No files matched your search
@@ -417,7 +417,7 @@ void Netctl::connectToEngine()
|
||||
|
||||
void Netctl::dataUpdated(const QString &sourceName, const Plasma::DataEngine::Data &data)
|
||||
{
|
||||
if (data.keys().count() == 0)
|
||||
if (data.isEmpty())
|
||||
return;
|
||||
QString value = data[QString("value")].toString();
|
||||
if (value.isEmpty())
|
||||
|
||||
Reference in new issue
Block a user