Reuse OtherLogsPage directly
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
This commit is contained in:
parent
289645266a
commit
1aa8d7bc13
11 changed files with 251 additions and 964 deletions
|
@ -63,10 +63,10 @@
|
|||
#include "ui/pages/global/ExternalToolsPage.h"
|
||||
#include "ui/pages/global/JavaPage.h"
|
||||
#include "ui/pages/global/LanguagePage.h"
|
||||
#include "ui/pages/global/LauncherLogPage.h"
|
||||
#include "ui/pages/global/LauncherPage.h"
|
||||
#include "ui/pages/global/MinecraftPage.h"
|
||||
#include "ui/pages/global/ProxyPage.h"
|
||||
#include "ui/pages/instance/OtherLogsPage.h"
|
||||
|
||||
#include "ui/setupwizard/AutoJavaWizardPage.h"
|
||||
#include "ui/setupwizard/JavaWizardPage.h"
|
||||
|
@ -905,7 +905,7 @@ Application::Application(int& argc, char** argv) : QApplication(argc, argv)
|
|||
m_globalSettingsProvider->addPage<APIPage>();
|
||||
m_globalSettingsProvider->addPage<ExternalToolsPage>();
|
||||
m_globalSettingsProvider->addPage<ProxyPage>();
|
||||
m_globalSettingsProvider->addPage<LauncherLogPage>();
|
||||
m_globalSettingsProvider->addPageCreator([]() { return new OtherLogsPage("launcher-logs", tr("Logs"), "Launcher-Logs"); });
|
||||
}
|
||||
|
||||
PixmapCache::setInstance(new PixmapCache(this));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue