Commit 55e558a8 authored by Laurent Montel's avatar Laurent Montel 😁

Use QHash

parent 94c7e92b
......@@ -67,23 +67,7 @@ struct LoadLoggingCategory {
bool enabled;
LogTypes type;
QString logName;
struct LoggingInfoType
{
LoggingInfoType()
: enabled(false),
type(Unknown)
{
}
bool operator ==(const LoggingInfoType &other) const
{
return (enabled == other.enabled) && (type == other.type);
}
bool enabled;
LoadLoggingCategory::LogType type;
};
QList<LoggingInfoType> loggingTypes;
QHash<LoadLoggingCategory::LogType, bool> loggingTypes;
};
void readLoggingCategories(const QString &filename, KdeLoggingCategory::List &categoriesList, bool checkCategoryList = 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