| 961 | } |
| 962 | |
| 963 | void GeometrySettings::saveMainWindowMonitor(const QMainWindow* w) |
| 964 | { |
| 965 | if (auto* handle = w->windowHandle()) { |
| 966 | if (auto* screen = handle->screen()) { |
| 967 | const int screenId = QGuiApplication::screens().indexOf(screen); |
| 968 | set(m_Settings, "Geometry", "MainWindow_monitor", screenId); |
| 969 | } |
| 970 | } |
| 971 | } |
| 972 | |
| 973 | Qt::Orientation dockOrientation(const QMainWindow* mw, const QDockWidget* d) |
| 974 | { |
no test coverage detected