Add Platform::screenSizeFor(window), removes more asQWidget() usage
This commit is contained in:
@@ -763,7 +763,7 @@ LayoutSaver::MainWindow MainWindow::serialize() const
|
||||
m.isVisible = isVisible();
|
||||
m.uniqueName = uniqueName();
|
||||
m.screenIndex = Platform::instance()->screenNumberFor(view());
|
||||
m.screenSize = screenSizeForWidget(view()->asQWidget());
|
||||
m.screenSize = Platform::instance()->screenSizeFor(view());
|
||||
m.multiSplitterLayout = layoutWidget()->serialize();
|
||||
m.affinities = d->affinities;
|
||||
m.windowState = window ? window->windowState()
|
||||
|
||||
Reference in New Issue
Block a user