Change the order of the quadrants

At least to me it seems more natural to enumerate them row by row instead
of column by column, so now we do

1 2     instead of    1 3
3 4                   2 4

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-02-10 10:41:15 -08:00
parent ca154a65da
commit 3296089953
2 changed files with 11 additions and 11 deletions

View file

@ -199,7 +199,7 @@ private:
void saveSplitterSizes();
QString lastUsedDir();
void updateLastUsedDir(const QString &s);
void registerApplicationState(const QByteArray& state, QWidget *topLeft, QWidget *bottomLeft, QWidget *topRight, QWidget *bottomRight);
void registerApplicationState(const QByteArray& state, QWidget *topLeft, QWidget *topRight, QWidget *bottomLeft, QWidget *bottomRight);
bool filesAsArguments;
UpdateManager *updateManager;
@ -211,11 +211,11 @@ private:
QList<QAction *> profileToolbarActions;
struct WidgetForQuadrant {
WidgetForQuadrant(QWidget *tl = 0, QWidget *bl = 0, QWidget *tr = 0, QWidget *br = 0) :
topLeft(tl), bottomLeft(bl), topRight(tr), bottomRight(br) {}
WidgetForQuadrant(QWidget *tl = 0, QWidget *tr = 0, QWidget *bl = 0, QWidget *br = 0) :
topLeft(tl), topRight(tr), bottomLeft(bl), bottomRight(br) {}
QWidget *topLeft;
QWidget *bottomLeft;
QWidget *topRight;
QWidget *bottomLeft;
QWidget *bottomRight;
};
QHash<QByteArray, WidgetForQuadrant> applicationState;