|
@@ -161,8 +161,9 @@ bool Loader::load(const QUrl &url)
|
|
bool success;
|
|
bool success;
|
|
int interval = line.toInt(&success);
|
|
int interval = line.toInt(&success);
|
|
if (success)
|
|
if (success)
|
|
|
|
+ {
|
|
setInterval(interval, false);
|
|
setInterval(interval, false);
|
|
-
|
|
|
|
|
|
+ }
|
|
else
|
|
else
|
|
{
|
|
{
|
|
setError("Unable to parse interval line");
|
|
setError("Unable to parse interval line");
|
|
@@ -326,7 +327,6 @@ bool Loader::load(const QUrl &url)
|
|
connect(hwmon, SIGNAL(configUpdateNeeded()), this, SLOT(createConfigFile()));
|
|
connect(hwmon, SIGNAL(configUpdateNeeded()), this, SLOT(createConfigFile()));
|
|
}
|
|
}
|
|
|
|
|
|
- m_configUrl = url;
|
|
|
|
emit configUrlChanged();
|
|
emit configUrlChanged();
|
|
|
|
|
|
m_configFile = fileContent;
|
|
m_configFile = fileContent;
|