mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-29 21:34:50 +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);
|
QApplication app(argc, argv);
|
||||||
|
|
||||||
static MyPlatform *plarform = [] {
|
static MyPlatform *platform = [] {
|
||||||
auto platform = std::make_unique<MyPlatform>();
|
auto platform = std::make_unique<MyPlatform>();
|
||||||
auto p2 = platform.get();
|
auto p2 = platform.get();
|
||||||
slint::platform::set_platform(std::move(platform));
|
slint::platform::set_platform(std::move(platform));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue