mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-07 10:55:52 +00:00
fix according to netctl#9
This commit is contained in:
@ -164,16 +164,6 @@ QStringList ExtendedSysMon::sources() const
|
||||
}
|
||||
|
||||
|
||||
void ExtendedSysMon::initValues()
|
||||
{
|
||||
if (debug) qDebug() << "[DE]" << "[initValues]";
|
||||
|
||||
QStringList sourceList = sources();
|
||||
for (int i=0; i<sourceList.count(); i++)
|
||||
sourceRequestEvent(sourceList[i]);
|
||||
}
|
||||
|
||||
|
||||
void ExtendedSysMon::setKeys()
|
||||
{
|
||||
if (debug) qDebug() << "[DE]" << "[setKeys]";
|
||||
@ -208,9 +198,6 @@ void ExtendedSysMon::setKeys()
|
||||
setData(QString("ps"), QString("psCount"), QString("0"));
|
||||
setData(QString("ps"), QString("ps"), QString(""));
|
||||
setData(QString("ps"), QString("psTotal"), QString("0"));
|
||||
|
||||
// initialization of values
|
||||
initValues();
|
||||
}
|
||||
|
||||
|
||||
|
@ -54,7 +54,6 @@ private:
|
||||
QString getAutoGpu();
|
||||
QString getAutoMpris();
|
||||
QStringList getDesktopNames();
|
||||
void initValues();
|
||||
void setKeys();
|
||||
void readConfiguration();
|
||||
QMap<QString, QString> updateConfiguration(const QMap<QString, QString> rawConfig);
|
||||
|
Reference in New Issue
Block a user