diff options
-rw-r--r-- | qt-ui/mainwindow.cpp | 2 | ||||
-rw-r--r-- | qt-ui/mainwindow.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index c9915ad22..3c256844c 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -1515,7 +1515,7 @@ void MainWindow::checkForUndoAndRedo() void MainWindow::registerApplicationState(const QByteArray& state, QWidget *topLeft, QWidget *bottomLeft, QWidget *topRight, QWidget *bottomRight) { - applicationState[state] = WidgetForBorder(topLeft, bottomLeft, topRight, bottomRight); + applicationState[state] = WidgetForQuadrant(topLeft, bottomLeft, topRight, bottomRight); if (ui.topLeft->indexOf(topLeft) == -1) { ui.topLeft->addWidget(topLeft); } diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h index d91a80171..b0b526380 100644 --- a/qt-ui/mainwindow.h +++ b/qt-ui/mainwindow.h @@ -210,15 +210,15 @@ private: struct dive_components what; QList<QAction *> profileToolbarActions; - struct WidgetForBorder { - WidgetForBorder(QWidget *tl = 0, QWidget *bl = 0, QWidget *tr = 0, QWidget *br = 0) : + struct WidgetForQuadrant { + WidgetForQuadrant(QWidget *tl = 0, QWidget *bl = 0, QWidget *tr = 0, QWidget *br = 0) : topLeft(tl), bottomLeft(bl), topRight(tr), bottomRight(br) {} QWidget *topLeft; QWidget *bottomLeft; QWidget *topRight; QWidget *bottomRight; }; - QHash<QByteArray, WidgetForBorder> applicationState; + QHash<QByteArray, WidgetForQuadrant> applicationState; QByteArray currentApplicationState; }; |