diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-06-03 01:34:44 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-06-09 01:38:31 +0200 |
commit | 6b3d1101cb801367edef8f35b3eee4499e04866b (patch) | |
tree | 22f223c016fd0b4999dc7c704bd6f7b7583269d1 /gui/widgets | |
parent | f485885757e287546bb27bda5906bfa4adc5494a (diff) | |
download | MultiMC-6b3d1101cb801367edef8f35b3eee4499e04866b.tar MultiMC-6b3d1101cb801367edef8f35b3eee4499e04866b.tar.gz MultiMC-6b3d1101cb801367edef8f35b3eee4499e04866b.tar.lz MultiMC-6b3d1101cb801367edef8f35b3eee4499e04866b.tar.xz MultiMC-6b3d1101cb801367edef8f35b3eee4499e04866b.zip |
Tweaks to page dialog and version page.
Diffstat (limited to 'gui/widgets')
-rw-r--r-- | gui/widgets/LineSeparator.h | 4 | ||||
-rw-r--r-- | gui/widgets/ServerStatus.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gui/widgets/LineSeparator.h b/gui/widgets/LineSeparator.h index 376f2056..9546e747 100644 --- a/gui/widgets/LineSeparator.h +++ b/gui/widgets/LineSeparator.h @@ -9,10 +9,10 @@ class LineSeparator : public QWidget public: /// Create a line separator. orientation is the orientation of the line. - explicit LineSeparator(QWidget *parent, Qt::Orientation orientation = Qt::Vertical); + explicit LineSeparator(QWidget *parent, Qt::Orientation orientation = Qt::Horizontal); QSize sizeHint() const; void paintEvent(QPaintEvent *); void initStyleOption(QStyleOption *option) const; private: - Qt::Orientation m_orientation = Qt::Vertical; + Qt::Orientation m_orientation = Qt::Horizontal; }; diff --git a/gui/widgets/ServerStatus.cpp b/gui/widgets/ServerStatus.cpp index e540a301..10ed79fb 100644 --- a/gui/widgets/ServerStatus.cpp +++ b/gui/widgets/ServerStatus.cpp @@ -59,7 +59,7 @@ void ServerStatus::reloadStatus() void ServerStatus::addLine() { - layout->addWidget(new LineSeparator(this)); + layout->addWidget(new LineSeparator(this, Qt::Vertical)); } void ServerStatus::addStatus(QString key, QString name) |