summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/pages/global/PasteEEPage.cpp8
-rw-r--r--application/pages/global/PasteEEPage.ui10
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 - &amp;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 &amp;upload limit</string>