summaryrefslogtreecommitdiffstats
path: root/gui/widgets
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-06-03 01:34:44 +0200
committerPetr Mrázek <peterix@gmail.com>2014-06-09 01:38:31 +0200
commit6b3d1101cb801367edef8f35b3eee4499e04866b (patch)
tree22f223c016fd0b4999dc7c704bd6f7b7583269d1 /gui/widgets
parentf485885757e287546bb27bda5906bfa4adc5494a (diff)
downloadMultiMC-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.h4
-rw-r--r--gui/widgets/ServerStatus.cpp2
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)