Default price feed to off and hide bg image in chat for now
This commit is contained in:
@@ -1382,9 +1382,9 @@ void MainWindow::setupTransactionsTab() {
|
||||
contextMenuChat->setObjectName("contextMenuChat");
|
||||
QString style = "QMenu{background-color: rgb(0, 0, 255);}";
|
||||
auto theme = Settings::getInstance()->get_theme_name();
|
||||
if (theme == "Dark" || theme == "Midnight") {
|
||||
ui->listChat->setStyleSheet("QListView{background-image: url(:/icons/res/SDLogo.png) ;background-position: center center ;background-repeat: no-repeat;} QMenu::item:selected { border-color: darkblue; background: rgba(100, 100, 100, 150);}");}
|
||||
if (theme == "Default") {ui->listChat->setStyleSheet("QListView{background-image: url(:/icons/res/sdlogo2.png) ;background-attachment: fixed ;background-position: center center ;background-repeat: no-repeat;} QMenu::item:selected { border-color: darkblue; background: rgba(100, 100, 100, 150);}");}
|
||||
//if (theme == "Dark" || theme == "Midnight") {
|
||||
//ui->listChat->setStyleSheet("QListView{background-image: url(:/icons/res/SDLogo.png) ;background-position: center center ;background-repeat: no-repeat;} QMenu::item:selected { border-color: darkblue; background: rgba(100, 100, 100, 150);}");}
|
||||
//if (theme == "Default") {ui->listChat->setStyleSheet("QListView{background-image: url(:/icons/res/sdlogo2.png) ;background-attachment: fixed ;background-position: center center ;background-repeat: no-repeat;} QMenu::item:selected { border-color: darkblue; background: rgba(100, 100, 100, 150);}");}
|
||||
ui->listChat->setResizeMode(QListView::Adjust);
|
||||
ui->listChat->setWordWrap(true);
|
||||
ui->listChat->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||
|
||||
@@ -242,7 +242,8 @@ void Settings::setCheckForUpdates(bool allow) {
|
||||
}
|
||||
|
||||
bool Settings::getAllowFetchPrices() {
|
||||
return QSettings().value("options/allowfetchprices", true).toBool();
|
||||
// now defaults to OFF, used to be ON
|
||||
return QSettings().value("options/allowfetchprices", false).toBool();
|
||||
}
|
||||
|
||||
void Settings::setAllowFetchPrices(bool allow) {
|
||||
|
||||
Reference in New Issue
Block a user