Commit 843d3e49 authored by Laurent Montel's avatar Laurent Montel 😁

Add default category in combobox

parent ecaa04c0
......@@ -60,3 +60,8 @@ bool CategoryTypeComboBox::loggingCategoryIsNotDefault() const
{
return (type() != LoggingCategory::Info);
}
void CategoryTypeComboBox::setDefaultCategories(const LoggingCategory::LoggingType &defaultCategories)
{
mDefaultCategories = defaultCategories;
}
......@@ -34,6 +34,10 @@ public:
LoggingCategory::LoggingType type() const;
void setType(LoggingCategory::LoggingType type);
bool loggingCategoryIsNotDefault() const;
void setDefaultCategories(const LoggingCategory::LoggingType &defaultCategories);
private:
LoggingCategory::LoggingType mDefaultCategories = LoggingCategory::Undefined;
};
#endif // CATEGORYTYPECOMBOBOX_H
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