Fix typo in example

Qt platform example.
This commit is contained in:
Miłosz Kosobucki 2024-08-08 18:51:32 +02:00 committed by Simon Hausmann
parent 2eff651d77
commit bcc5327052

View file

@ -387,7 +387,7 @@ int main(int argc, char **argv)
{
QApplication app(argc, argv);
static MyPlatform *plarform = [] {
static MyPlatform *platform = [] {
auto platform = std::make_unique<MyPlatform>();
auto p2 = platform.get();
slint::platform::set_platform(std::move(platform));