mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-07-06 02:25:46 +00:00
test fix #9
This commit is contained in:
@ -74,17 +74,6 @@ QStringList Netctl::sources() const
|
||||
}
|
||||
|
||||
|
||||
void Netctl::initValues()
|
||||
{
|
||||
if (debug) qDebug() << "[DE]" << "[initValues]";
|
||||
|
||||
netctlAutoStatus = false;
|
||||
QStringList sourcesList = sources();
|
||||
for (int i=0; i<sourcesList.count(); i++)
|
||||
sourceRequestEvent(sourcesList[i]);
|
||||
}
|
||||
|
||||
|
||||
void Netctl::setKeys()
|
||||
{
|
||||
if (debug) qDebug() << "[DE]" << "[setKeys]";
|
||||
@ -92,8 +81,6 @@ void Netctl::setKeys()
|
||||
QStringList sourcesList = sources();
|
||||
for (int i=0; i<sourcesList.count(); i++)
|
||||
setData(sourcesList[i], QString("value"), QString(""));
|
||||
|
||||
initValues();
|
||||
}
|
||||
|
||||
|
||||
|
@ -49,7 +49,6 @@ private:
|
||||
// configuration
|
||||
bool debug;
|
||||
QMap<QString, QString> configuration;
|
||||
void initValues();
|
||||
void setKeys();
|
||||
void readConfiguration();
|
||||
QMap<QString, QString> updateConfiguration(const QMap<QString, QString> rawConfig);
|
||||
|
Reference in New Issue
Block a user