mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-24 18:48:33 +02:00
Add reddit frontend setting
This commit is contained in:
@@ -45,6 +45,7 @@ Settings::Settings(QWidget *parent) :
|
||||
|
||||
connect(ui->comboBox_skin, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &Settings::comboBox_skinChanged);
|
||||
connect(ui->comboBox_blockExplorer, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &Settings::comboBox_blockExplorerChanged);
|
||||
connect(ui->comboBox_redditFrontend, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &Settings::comboBox_redditFrontendChanged);
|
||||
|
||||
// setup preferred fiat currency combobox
|
||||
QStringList fiatCurrencies;
|
||||
@@ -94,6 +95,11 @@ void Settings::comboBox_blockExplorerChanged(int pos) {
|
||||
emit blockExplorerChanged(blockExplorer);
|
||||
}
|
||||
|
||||
void Settings::comboBox_redditFrontendChanged(int pos) {
|
||||
QString redditFrontend = ui->comboBox_redditFrontend->currentText();
|
||||
config()->set(Config::redditFrontend, redditFrontend);
|
||||
}
|
||||
|
||||
void Settings::copyToClipboard() {
|
||||
ui->textLogs->copy();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user