mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-01 10:56:57 +03:00
GH-719 implement paste.ee API keys
This commit is contained in:
parent
ac8ff88061
commit
ae4216de61
11 changed files with 345 additions and 16 deletions
|
|
@ -7,6 +7,7 @@
|
|||
#include "pages/global/ProxyPage.h"
|
||||
#include "pages/global/ExternalToolsPage.h"
|
||||
#include "pages/global/AccountListPage.h"
|
||||
#include "pages/global/PasteEEPage.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <QDir>
|
||||
|
|
@ -535,6 +536,8 @@ void MultiMC::initGlobalSettings(bool test_mode)
|
|||
// Jar mod nag dialog in version page
|
||||
m_settings->registerSetting("JarModNagSeen", false);
|
||||
|
||||
// paste.ee API key
|
||||
m_settings->registerSetting("PasteEEAPIKey", "multimc");
|
||||
|
||||
// Init page provider
|
||||
{
|
||||
|
|
@ -545,6 +548,7 @@ void MultiMC::initGlobalSettings(bool test_mode)
|
|||
m_globalSettingsProvider->addPage<ProxyPage>();
|
||||
m_globalSettingsProvider->addPage<ExternalToolsPage>();
|
||||
m_globalSettingsProvider->addPage<AccountListPage>();
|
||||
m_globalSettingsProvider->addPage<PasteEEPage>();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue