| 36 | namespace KDDockWidgets { |
| 37 | |
| 38 | static ViewFactory *createDefaultViewFactory() |
| 39 | { |
| 40 | if (auto platform = Platform::instance()) |
| 41 | return platform->createDefaultViewFactory(); |
| 42 | |
| 43 | KDDW_ERROR("No Platform found. Forgot to call KDDockWidgets::initFrontend(<platform>) ?"); |
| 44 | std::terminate(); |
| 45 | return nullptr; |
| 46 | } |
| 47 | |
| 48 | class Config::Private |
| 49 | { |
no test coverage detected