From 11a77a43530bed6e080770e50844b647385dceb8 Mon Sep 17 00:00:00 2001
From: Adityarup Laha <30696515+adityaruplaha@users.noreply.github.com>
Date: Tue, 24 Oct 2017 19:44:56 +0530
Subject: [PATCH] Removed inline styling
---
src/citra_qt/configuration/configure_web.cpp | 23 ++------------------
1 file changed, 2 insertions(+), 21 deletions(-)
diff --git a/src/citra_qt/configuration/configure_web.cpp b/src/citra_qt/configuration/configure_web.cpp
index 4387d0e4d..bf8c21ac7 100644
--- a/src/citra_qt/configuration/configure_web.cpp
+++ b/src/citra_qt/configuration/configure_web.cpp
@@ -21,37 +21,18 @@ ConfigureWeb::ConfigureWeb(QWidget* parent)
ConfigureWeb::~ConfigureWeb() {}
-std::string getColor()
-{
- std::string ctheme = ui->theme_combobox->itemData(ui->theme_combobox->currentIndex()).toString();
-
- if (ctheme = "Dark" || ctheme = "qdarkstyle")
- {
- return "color = #FFD700 ";
- }
- else if (ctheme = "Default" || ctheme = "default")
- {
- return "";
- }
- else
- {
- return null;
- }
-}
-
void ConfigureWeb::setConfiguration() {
ui->web_credentials_disclaimer->setWordWrap(true);
ui->telemetry_learn_more->setOpenExternalLinks(true);
ui->telemetry_learn_more->setText(tr("Learn more"));
ui->web_signup_link->setOpenExternalLinks(true);
- ui->web_signup_link->setText(tr("Sign up"));
+ ui->web_signup_link->setText(tr("Sign up"));
ui->web_token_info_link->setOpenExternalLinks(true);
ui->web_token_info_link->setText(
- tr("What is my token?"));
+ tr("What is my token?"));
ui->toggle_telemetry->setChecked(Settings::values.enable_telemetry);
ui->edit_username->setText(QString::fromStdString(Settings::values.citra_username));