Logging when layout's are loaded and saved

This commit is contained in:
Jake Turner
2023-11-09 11:23:48 +00:00
parent b531fe90a8
commit 77b2c51355
+2
View File
@@ -3072,6 +3072,7 @@ bool MainWindow::restoreState(QVariantMap &state)
bool MainWindow::SaveLayout(int layout)
{
qInfo() << "SaveLayout " << layout;
QString path = GetLayoutPath(layout);
QVariantMap state = saveState();
@@ -3087,6 +3088,7 @@ bool MainWindow::SaveLayout(int layout)
bool MainWindow::LoadLayout(int layout)
{
qInfo() << "LoadLayout " << layout;
QString path = GetLayoutPath(layout);
QFile f(path);