diff options
author | Joona <joonatoona@digitalfishfun.com> | 2017-08-22 12:52:31 -0700 |
---|---|---|
committer | Petr Mrázek <peterix@users.noreply.github.com> | 2017-08-22 22:38:01 +0200 |
commit | ced67a7400927de586fa05a2819bb3e949c3af19 (patch) | |
tree | 1f82aff82a28e9c13907763e731f56254602ed6b /application/pages | |
parent | 4d54d2662aba3059a5c941e93b82e285fa181cff (diff) | |
download | MultiMC-ced67a7400927de586fa05a2819bb3e949c3af19.tar MultiMC-ced67a7400927de586fa05a2819bb3e949c3af19.tar.gz MultiMC-ced67a7400927de586fa05a2819bb3e949c3af19.tar.lz MultiMC-ced67a7400927de586fa05a2819bb3e949c3af19.tar.xz MultiMC-ced67a7400927de586fa05a2819bb3e949c3af19.zip |
remove public option
Diffstat (limited to 'application/pages')
-rw-r--r-- | application/pages/global/PasteEEPage.cpp | 8 | ||||
-rw-r--r-- | application/pages/global/PasteEEPage.ui | 10 |
2 files changed, 1 insertions, 17 deletions
diff --git a/application/pages/global/PasteEEPage.cpp b/application/pages/global/PasteEEPage.cpp index 2ceb725f..f2c82d44 100644 --- a/application/pages/global/PasteEEPage.cpp +++ b/application/pages/global/PasteEEPage.cpp @@ -43,11 +43,7 @@ void PasteEEPage::loadSettings() { auto s = MMC->settings(); QString keyToUse = s->get("PasteEEAPIKey").toString(); - if(keyToUse == "public") - { - ui->publicButton->setChecked(true); - } - else if(keyToUse == "multimc") + if(keyToUse == "multimc") { ui->multimcButton->setChecked(true); } @@ -65,8 +61,6 @@ void PasteEEPage::applySettings() QString pasteKeyToUse; if (ui->customButton->isChecked()) pasteKeyToUse = ui->customAPIkeyEdit->text(); - else if (ui->publicButton->isChecked()) - pasteKeyToUse = "public"; else { pasteKeyToUse = "multimc"; diff --git a/application/pages/global/PasteEEPage.ui b/application/pages/global/PasteEEPage.ui index 689c421f..965e9c5c 100644 --- a/application/pages/global/PasteEEPage.ui +++ b/application/pages/global/PasteEEPage.ui @@ -40,16 +40,6 @@ </property> <layout class="QVBoxLayout" name="verticalLayout_10"> <item> - <widget class="QRadioButton" name="publicButton"> - <property name="text"> - <string>No key - &2MB upload limit</string> - </property> - <attribute name="buttonGroup"> - <string notr="true">pasteButtonGroup</string> - </attribute> - </widget> - </item> - <item> <widget class="QRadioButton" name="multimcButton"> <property name="text"> <string>MultiMC key - 12MB &upload limit</string> |