aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/InstanceWindow.cpp
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-08-11 08:24:14 +0200
committerGitHub <noreply@github.com>2023-08-11 08:24:14 +0200
commit396f81249693cc3d968450d18a0251e53c5a49b2 (patch)
treeae424347f07ccd1b23b45ccfe651ca7dd5888331 /launcher/ui/InstanceWindow.cpp
parent2090f958c8d1940238fe08f98eee2145edb12906 (diff)
parent8140374e26dc97c7b1752f1018991bf19ee86f7c (diff)
downloadPrismLauncher-396f81249693cc3d968450d18a0251e53c5a49b2.tar.gz
PrismLauncher-396f81249693cc3d968450d18a0251e53c5a49b2.tar.bz2
PrismLauncher-396f81249693cc3d968450d18a0251e53c5a49b2.zip
Merge pull request #1230 from TheKodeToad/better-component-installation
Revamp loader installation UI
Diffstat (limited to 'launcher/ui/InstanceWindow.cpp')
-rw-r--r--launcher/ui/InstanceWindow.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/launcher/ui/InstanceWindow.cpp b/launcher/ui/InstanceWindow.cpp
index c62b370f..d784a40f 100644
--- a/launcher/ui/InstanceWindow.cpp
+++ b/launcher/ui/InstanceWindow.cpp
@@ -1,7 +1,8 @@
// SPDX-License-Identifier: GPL-3.0-only
/*
- * PolyMC - Minecraft Launcher
+ * Prism Launcher - Minecraft Launcher
* Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net>
+ * Copyright (C) 2023 TheKodeToad <TheKodeToad@proton.me>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -263,6 +264,11 @@ bool InstanceWindow::selectPage(QString pageId)
return m_container->selectPage(pageId);
}
+BasePage* InstanceWindow::selectedPage() const
+{
+ return m_container->selectedPage();
+}
+
void InstanceWindow::refreshContainer()
{
m_container->refreshContainer();