summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAl <gabriel.cortesi@outlook.com>2019-01-01 22:37:47 +0100
committerGitHub <noreply@github.com>2019-01-01 22:37:47 +0100
commit35995a49892a015080f52d5b863ddaf6bb8455d3 (patch)
tree9d68031ce9704ff863edf7cc9f7dfc3b0235ecef /src/mainwindow.cpp
parent523cb203ce5da9d70cafe9d00e3e48d62c066755 (diff)
parent76fb954b3d2518665d3fb6bd452d7f4f03592dd4 (diff)
Merge pull request #607 from przester/download-tab
Fix download entry padding issue
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 224ce0a9..2e1391c1 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -5193,6 +5193,8 @@ void MainWindow::updateDownloadView()
ui->downloadView->setProperty("downloadView", "standard");
setStyleSheet("DownloadListWidget::item { padding: 16px; }");
}
+ setStyleSheet("DownloadListWidget::item:hover { padding: 0px; }");
+ setStyleSheet("DownloadListWidget::item:selected { padding: 0px; }");
// reapply global stylesheet on the widget level (!) to override the defaults
ui->downloadView->setStyleSheet(styleSheet());