aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/dialogs/ProfileSelectDialog.h
diff options
context:
space:
mode:
authorAlexandru Ionut Tripon <alexandru.tripon97@gmail.com>2023-08-12 12:42:30 +0300
committerGitHub <noreply@github.com>2023-08-12 12:42:30 +0300
commitb3b2e9df35222209b4920202d86091eeeb87f03f (patch)
treece44c3877ee36c21279d142b2af1c393e7b87780 /launcher/ui/dialogs/ProfileSelectDialog.h
parentca061080c13042642fb3bd49a29a863756f45866 (diff)
parent3aba7f8fec45c7c87be486d8f6b5c96f69facf93 (diff)
downloadPrismLauncher-b3b2e9df35222209b4920202d86091eeeb87f03f.tar.gz
PrismLauncher-b3b2e9df35222209b4920202d86091eeeb87f03f.tar.bz2
PrismLauncher-b3b2e9df35222209b4920202d86091eeeb87f03f.zip
Merge branch 'develop' into feat/acknowledge_release_type
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/ui/dialogs/ProfileSelectDialog.h')
-rw-r--r--launcher/ui/dialogs/ProfileSelectDialog.h22
1 files changed, 9 insertions, 13 deletions
diff --git a/launcher/ui/dialogs/ProfileSelectDialog.h b/launcher/ui/dialogs/ProfileSelectDialog.h
index 38aa4249..e56ba052 100644
--- a/launcher/ui/dialogs/ProfileSelectDialog.h
+++ b/launcher/ui/dialogs/ProfileSelectDialog.h
@@ -21,17 +21,14 @@
#include "minecraft/auth/AccountList.h"
-namespace Ui
-{
+namespace Ui {
class ProfileSelectDialog;
}
-class ProfileSelectDialog : public QDialog
-{
+class ProfileSelectDialog : public QDialog {
Q_OBJECT
-public:
- enum Flags
- {
+ public:
+ enum Flags {
NoFlags = 0,
/*!
@@ -52,7 +49,7 @@ public:
* Constructs a new account select dialog with the given parent and message.
* The message will be shown at the top of the dialog. It is an empty string by default.
*/
- explicit ProfileSelectDialog(const QString& message="", int flags=0, QWidget *parent = 0);
+ explicit ProfileSelectDialog(const QString& message = "", int flags = 0, QWidget* parent = 0);
~ProfileSelectDialog();
/*!
@@ -73,18 +70,17 @@ public:
*/
bool useAsInstDefaullt() const;
-public
-slots:
+ public slots:
void on_buttonBox_accepted();
void on_buttonBox_rejected();
-protected:
+ protected:
shared_qobject_ptr<AccountList> m_accounts;
//! The account that was selected when the user clicked OK.
MinecraftAccountPtr m_selected;
-private:
- Ui::ProfileSelectDialog *ui;
+ private:
+ Ui::ProfileSelectDialog* ui;
};