Drawing: fix build failure

This commit is contained in:
wmayer
2023-08-10 10:50:34 +02:00
committed by wwmayer
parent 79a31d7483
commit 778653825b

View File

@@ -110,7 +110,7 @@ private:
PyMem_Free(Name);
Base::FileInfo file(EncodedName.c_str());
if (file.hasExtension({"svg", "svgz"}) {
if (file.hasExtension({"svg", "svgz"})) {
QString fileName = QString::fromUtf8(EncodedName.c_str());
// Displaying the image in a view
DrawingView* view = new DrawingView(nullptr, Gui::getMainWindow());