Commit b4bf2009 authored by Vlad Rakhmanin's avatar Vlad Rakhmanin
Browse files

Deleted enum function.

Deleted the function that converted an enum to a string, as this is no longer necessary after the refactor.
parent 99e821a1
......@@ -360,20 +360,3 @@ QString Kontrast::getFontSizeQualityLabel()
return fontSizeQualityLabel;
QString Kontrast::getStringFromEnum(Quality quality)
QString qualityDescription;
switch (quality) {
case Bad:
qualityDescription = i18nc("A bad quality", "bad");
case Good:
qualityDescription = i18nc("A good quality", "good");
case Perfect:
qualityDescription = i18nc("A perfect quality", "perfect");
return qualityDescription;
Supports Markdown
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