diff --git a/res/darkwing.png b/res/darkwing.png new file mode 100644 index 0000000..6fbe046 Binary files /dev/null and b/res/darkwing.png differ diff --git a/res/hushdark.png b/res/hushdark.png new file mode 100644 index 0000000..9aef6a2 Binary files /dev/null and b/res/hushdark.png differ diff --git a/res/sdlogo.png b/res/sdlogo.png new file mode 100644 index 0000000..5dde4f0 Binary files /dev/null and b/res/sdlogo.png differ diff --git a/res/sdlogo2.png b/res/sdlogo2.png new file mode 100644 index 0000000..fee4fab Binary files /dev/null and b/res/sdlogo2.png differ diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 0104f56..a45f5b5 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -906,9 +906,11 @@ void MainWindow::setupTransactionsTab() { // Set up context menu on transactions tab auto theme = Settings::getInstance()->get_theme_name(); - if (theme == "dark"){ + if (theme == "dark" || theme == "midnight") { ui->listChat->setStyleSheet("background-image: url(res/sdlogo.png) ;background-attachment: fixed ;background-position: center center ;background-repeat: no-repeat;background-size: cover"); - }else{ui->listChat->setStyleSheet("background-image: url(res/sdlogo2.png) ;background-attachment: fixed ;background-position: center center ;background-repeat: no-repeat;background-size: cover");} + } + if (theme == "default") {ui->listChat->setStyleSheet("background-image: url(res/sdlogo2.png) ;background-attachment: fixed ;background-position: center center ;background-repeat: no-repeat;background-size: cover");} + ui->listChat->setResizeMode(QListView::Adjust); ui->listChat->setWordWrap(true); ui->listChat->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel); @@ -997,6 +999,7 @@ void MainWindow::setupTransactionsTab() { menu.exec(ui->transactionsTable->viewport()->mapToGlobal(pos)); }); + } void MainWindow::setupchatTab() {