MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / saveMainWindowMonitor

Method saveMainWindowMonitor

src/settings.cpp:963–971  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

961}
962
963void 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
973Qt::Orientation dockOrientation(const QMainWindow* mw, const QDockWidget* d)
974{

Callers 1

storeSettingsMethod · 0.80

Calls 2

indexOfMethod · 0.80
setFunction · 0.70

Tested by

no test coverage detected