Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Qt6: rename local QStringConverter to StringConverter

Halla Remptcf4abf902480
diff --git a/libs/ui/tests/kis_categorized_list_model_test.cpp b/libs/ui/tests/kis_categorized_list_model_test.cpp
index ea01661640..aa0b6cd252 100644
--- a/libs/ui/tests/kis_categorized_list_model_test.cpp
+++ b/libs/ui/tests/kis_categorized_list_model_test.cpp
@@ -14,7 +14,7 @@
void KisCategorizedListModelTest::test()
{
- KisCategorizedListModel<QString, QStringConverter> model;
+ KisCategorizedListModel<QString, StringConverter> model;
ModelTest modelTest(&model);
}
diff --git a/libs/ui/tests/testing_categories_mapper.h b/libs/ui/tests/testing_categories_mapper.h
index 2fc24f8763..61ccca1f48 100644
--- a/libs/ui/tests/testing_categories_mapper.h
+++ b/libs/ui/tests/testing_categories_mapper.h
@@ -10,12 +10,12 @@
#include "kis_categories_mapper.h"
#include <simpletest.h>
-struct QStringConverter {
+struct StringConverter {
QString operator() (const QString &entry) {
return entry;
}
};
-typedef KisCategoriesMapper<QString, QStringConverter> TestingBaseMapper;
+typedef KisCategoriesMapper<QString, StringConverter> TestingBaseMapper;
class TestingMapper : public TestingBaseMapper
{