aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/widgets/LineSeparator.h
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-08-04 19:42:36 +0200
committerGitHub <noreply@github.com>2023-08-04 19:42:36 +0200
commitae793f6cf11658c9abc5111e82d5ba7b3e6af127 (patch)
treeed41f30e2c0f02e4be1d42324b3f05fbab75b2cd /launcher/ui/widgets/LineSeparator.h
parent50c7d39e082f0a7dbd977401e16d5adf534d9770 (diff)
parent1d638e018ac40fbfb35dd117f9a948c0cf35eadd (diff)
downloadPrismLauncher-ae793f6cf11658c9abc5111e82d5ba7b3e6af127.tar.gz
PrismLauncher-ae793f6cf11658c9abc5111e82d5ba7b3e6af127.tar.bz2
PrismLauncher-ae793f6cf11658c9abc5111e82d5ba7b3e6af127.zip
Merge pull request #1459 from Scrumplex/format
Diffstat (limited to 'launcher/ui/widgets/LineSeparator.h')
-rw-r--r--launcher/ui/widgets/LineSeparator.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/launcher/ui/widgets/LineSeparator.h b/launcher/ui/widgets/LineSeparator.h
index 22927b68..719facb9 100644
--- a/launcher/ui/widgets/LineSeparator.h
+++ b/launcher/ui/widgets/LineSeparator.h
@@ -3,16 +3,16 @@
class QStyleOption;
-class LineSeparator : public QWidget
-{
+class LineSeparator : public QWidget {
Q_OBJECT
-public:
+ public:
/// Create a line separator. orientation is the orientation of the line.
- explicit LineSeparator(QWidget *parent, Qt::Orientation orientation = Qt::Horizontal);
+ explicit LineSeparator(QWidget* parent, Qt::Orientation orientation = Qt::Horizontal);
QSize sizeHint() const;
- void paintEvent(QPaintEvent *);
- void initStyleOption(QStyleOption *option) const;
-private:
+ void paintEvent(QPaintEvent*);
+ void initStyleOption(QStyleOption* option) const;
+
+ private:
Qt::Orientation m_orientation = Qt::Horizontal;
};