mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-03 18:29:09 +00:00
Fix typo in example
Qt platform example.
This commit is contained in:
parent
2eff651d77
commit
bcc5327052
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue