aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/widgets/CustomCommands.h
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/ui/widgets/CustomCommands.h')
-rw-r--r--launcher/ui/widgets/CustomCommands.h20
1 files changed, 8 insertions, 12 deletions
diff --git a/launcher/ui/widgets/CustomCommands.h b/launcher/ui/widgets/CustomCommands.h
index ed10ba95..5b410ae9 100644
--- a/launcher/ui/widgets/CustomCommands.h
+++ b/launcher/ui/widgets/CustomCommands.h
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-3.0-only
/*
- * PolyMC - Minecraft Launcher
+ * Prism Launcher - Minecraft Launcher
* Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net>
*
* This program is free software: you can redistribute it and/or modify
@@ -37,19 +37,17 @@
#include <QWidget>
-namespace Ui
-{
+namespace Ui {
class CustomCommands;
}
-class CustomCommands : public QWidget
-{
+class CustomCommands : public QWidget {
Q_OBJECT
-public:
- explicit CustomCommands(QWidget *parent = 0);
+ public:
+ explicit CustomCommands(QWidget* parent = 0);
virtual ~CustomCommands();
- void initialize(bool checkable, bool checked, const QString & prelaunch, const QString & wrapper, const QString & postexit);
+ void initialize(bool checkable, bool checked, const QString& prelaunch, const QString& wrapper, const QString& postexit);
void retranslate();
bool checked() const;
@@ -57,8 +55,6 @@ public:
QString wrapperCommand() const;
QString postexitCommand() const;
-private:
- Ui::CustomCommands *ui;
+ private:
+ Ui::CustomCommands* ui;
};
-
-