aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/widgets/ErrorFrame.h
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-08-14 18:16:53 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2023-08-14 18:16:53 +0200
commit91ba4cf75ee30c64779edb5b7644e5a830de5026 (patch)
treeaa8c2433bfc3a54577aceeb706c4c2cd0986c95d /launcher/ui/widgets/ErrorFrame.h
parent779f70057b021e285afd60cc650a14cd5feacffd (diff)
downloadPrismLauncher-91ba4cf75ee30c64779edb5b7644e5a830de5026.tar.gz
PrismLauncher-91ba4cf75ee30c64779edb5b7644e5a830de5026.tar.bz2
PrismLauncher-91ba4cf75ee30c64779edb5b7644e5a830de5026.zip
chore: reformat
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'launcher/ui/widgets/ErrorFrame.h')
-rw-r--r--launcher/ui/widgets/ErrorFrame.h22
1 files changed, 10 insertions, 12 deletions
diff --git a/launcher/ui/widgets/ErrorFrame.h b/launcher/ui/widgets/ErrorFrame.h
index d5069a14..1aea6a1d 100644
--- a/launcher/ui/widgets/ErrorFrame.h
+++ b/launcher/ui/widgets/ErrorFrame.h
@@ -17,17 +17,15 @@
#include <QFrame>
-namespace Ui
-{
+namespace Ui {
class ErrorFrame;
}
-class ErrorFrame : public QFrame
-{
+class ErrorFrame : public QFrame {
Q_OBJECT
-public:
- explicit ErrorFrame(QWidget *parent = 0);
+ public:
+ explicit ErrorFrame(QWidget* parent = 0);
~ErrorFrame();
void setTitle(QString text);
@@ -35,15 +33,15 @@ public:
void clear();
-public slots:
- void ellipsisHandler(const QString& link );
+ public slots:
+ void ellipsisHandler(const QString& link);
void boxClosed(int result);
-private:
+ private:
void updateHiddenState();
-private:
- Ui::ErrorFrame *ui;
+ private:
+ Ui::ErrorFrame* ui;
QString desc;
- class QMessageBox * currentBox = nullptr;
+ class QMessageBox* currentBox = nullptr;
};