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: remove type from QVariant::setValue

Halla Rempt58d2168dda50
diff --git a/libs/ui/tests/fill_processing_visitor_test.cpp b/libs/ui/tests/fill_processing_visitor_test.cpp
index 88837d808a..55af6856d1 100644
--- a/libs/ui/tests/fill_processing_visitor_test.cpp
+++ b/libs/ui/tests/fill_processing_visitor_test.cpp
@@ -49,7 +49,7 @@ public:
Q_ASSERT(newPattern->valid());
QVariant v;
- v.setValue<KoPatternSP>(newPattern);
+ v.setValue(newPattern);
manager->setResource(KoCanvasResource::CurrentPattern, v);
KisResourcesSnapshotSP resources =