diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-24 21:52:37 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-24 21:52:37 +0100 |
commit | 7ae4e1d32a98b596d483a19ed94a21b560eb595d (patch) | |
tree | 1c68a1258f5017984a7878d5e913d95d72544f59 /net-p2p/transmission/files | |
parent | 145ac95c683ecda55a9b2cafc84dced2e9c29e03 (diff) |
gentoo auto-resync : 24:10:2022 - 21:52:37
Diffstat (limited to 'net-p2p/transmission/files')
-rw-r--r-- | net-p2p/transmission/files/transmission-3.00-horizontal-progress-bars.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net-p2p/transmission/files/transmission-3.00-horizontal-progress-bars.patch b/net-p2p/transmission/files/transmission-3.00-horizontal-progress-bars.patch new file mode 100644 index 000000000000..63d8ca2fe274 --- /dev/null +++ b/net-p2p/transmission/files/transmission-3.00-horizontal-progress-bars.patch @@ -0,0 +1,36 @@ +https://bugs.gentoo.org/878099 +https://github.com/transmission/transmission/issues/3150 + +--- a/qt/FileTreeDelegate.cc ++++ a/qt/FileTreeDelegate.cc +@@ -49,7 +49,7 @@ + if (column == FileTreeModel::COL_PROGRESS) + { + QStyleOptionProgressBar p; +- p.state = option.state | QStyle::State_Small; ++ p.state = option.state | QStyle::State_Horizontal | QStyle::State_Small; + p.direction = qApp->layoutDirection(); + p.rect = option.rect; + p.rect.setSize(QSize(option.rect.width() - 4, option.rect.height() - 8)); +--- a/qt/TorrentDelegate.cc ++++ a/qt/TorrentDelegate.cc +@@ -545,7 +545,7 @@ + progressBarState = QStyle::State_None; + } + +- progressBarState |= QStyle::State_Small; ++ progressBarState |= QStyle::State_Horizontal | QStyle::State_Small; + + QIcon::Mode const emblemIm = isItemSelected ? QIcon::Selected : QIcon::Normal; + QIcon const emblemIcon = tor.hasError() ? getWarningEmblem() : QIcon(); +--- a/qt/TorrentDelegateMin.cc ++++ a/qt/TorrentDelegateMin.cc +@@ -218,7 +218,7 @@ + progressBarState = QStyle::State_None; + } + +- progressBarState |= QStyle::State_Small; ++ progressBarState |= QStyle::State_Horizontal | QStyle::State_Small; + + QIcon::Mode const emblemIm = isItemSelected ? QIcon::Selected : QIcon::Normal; + QIcon const emblemIcon = tor.hasError() ? getWarningEmblem() : QIcon(); |