Commit 0f45772a authored by Rafał Malinowski's avatar Rafał Malinowski

configuration: remove unused method

Signed-off-by: Rafał Malinowski's avatarRafał Malinowski <rafal.przemyslaw.malinowski@gmail.com>
parent dce2e15b
......@@ -220,14 +220,6 @@ QString PlainConfigFile::readEntry(const QString &group,const QString &name, con
return string;
}
bool PlainConfigFile::readBoolEntry(const QString &group,const QString &name, bool def)
{
QString string = getEntry(group, name);
if (string.isNull())
return def;
return string=="true";
}
ConfigFile::ConfigFile(const QString &filename) : filename(filename)
{
}
......
......@@ -70,7 +70,6 @@ public:
void writeEntry(const QString &group,const QString &name, const QString &value);
QString readEntry(const QString &group, const QString &name, const QString &def = QString());
bool readBoolEntry(const QString &group, const QString &name, bool def = false);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment