mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-07-14 22:35:51 +00:00
small fix
This commit is contained in:
@ -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