Skip to content

Commit 0461bba

Browse files
committed
BitmapSkin: Fix format string conversion
1 parent 6750272 commit 0461bba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bitmapskin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ BitmapSkin::BitmapSkin(libscratchcpp::Costume *costume) :
2121

2222
{
2323
QImageReader reader(&buffer);
24-
format = reader.format();
24+
format = reader.format().toStdString().c_str();
2525
}
2626

2727
buffer.close();

0 commit comments

Comments
 (0)