mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 12:24:16 +00:00
C++: Platform::register_platform -> platform::set_platform
This commit is contained in:
parent
42bb2bf705
commit
69a11f7dbc
4 changed files with 32 additions and 34 deletions
|
|
@ -83,7 +83,7 @@ struct TestPlatform : slint_platform::Platform
|
|||
#endif
|
||||
};
|
||||
|
||||
bool init_platform = (TestPlatform::register_platform(std::make_unique<TestPlatform>()), true);
|
||||
bool init_platform = (slint_platform::set_platform(std::make_unique<TestPlatform>()), true);
|
||||
|
||||
TEST_CASE("C++ Singleshot Timers")
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue