summaryrefslogtreecommitdiffstats
path: root/source/kde/kde/patch
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2023-04-02 18:33:01 +0000
committer Eric Hameleers <alien@slackware.com>2023-04-02 21:32:45 +0200
commit9c04f746e5c0e1b51fe1e39c3859561bf094b095 (patch)
treeea9771a6f09c4cce51c7ae9434338063fd31bcbc /source/kde/kde/patch
parentb689ecb8821052a424c41754d4e4ca53fc18ad0e (diff)
downloadcurrent-9c04f746e5c0e1b51fe1e39c3859561bf094b095.tar.gz
current-9c04f746e5c0e1b51fe1e39c3859561bf094b095.tar.xz
Sun Apr 2 18:33:01 UTC 202320230402183301
kde/krusader-2.8.0-x86_64-2.txz: Rebuilt. [PATCH 1/2] Add workaround for icon size in HiDPI environment. [PATCH 2/2] Don't set QStyle::State_None for brief view. Thanks to Heinz Wiesinger. l/apr-1.7.3-x86_64-1.txz: Upgraded. n/irssi-1.4.4-x86_64-1.txz: Upgraded. Do not crash Irssi when one line is printed as the result of another line being printed. Also solve a memory leak while printing unformatted lines. (* Security fix *) xap/xsnow-3.7.4-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/kde/kde/patch')
-rw-r--r--source/kde/kde/patch/krusader.patch1
-rw-r--r--source/kde/kde/patch/krusader/e5a71586952049ac92fab6f05ed1ab05c1e733c4.patch50
2 files changed, 51 insertions, 0 deletions
diff --git a/source/kde/kde/patch/krusader.patch b/source/kde/kde/patch/krusader.patch
new file mode 100644
index 000000000..fbe2a558e
--- /dev/null
+++ b/source/kde/kde/patch/krusader.patch
@@ -0,0 +1 @@
+cat $CWD/patch/krusader/e5a71586952049ac92fab6f05ed1ab05c1e733c4.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
diff --git a/source/kde/kde/patch/krusader/e5a71586952049ac92fab6f05ed1ab05c1e733c4.patch b/source/kde/kde/patch/krusader/e5a71586952049ac92fab6f05ed1ab05c1e733c4.patch
new file mode 100644
index 000000000..b56bc567a
--- /dev/null
+++ b/source/kde/kde/patch/krusader/e5a71586952049ac92fab6f05ed1ab05c1e733c4.patch
@@ -0,0 +1,50 @@
+From 2bd5cd0db362db944bdea639bf0be33f6f439268 Mon Sep 17 00:00:00 2001
+From: Evgeny Brazgin <xapienz@phystech.edu>
+Date: Sun, 5 Mar 2023 22:48:27 -0800
+Subject: [PATCH 1/2] Add workaround for icon size in HiDPI environment
+
+---
+ app/Panel/PanelView/listmodel.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/app/Panel/PanelView/listmodel.cpp b/app/Panel/PanelView/listmodel.cpp
+index d6ad6c5f8..7731e8951 100644
+--- a/app/Panel/PanelView/listmodel.cpp
++++ b/app/Panel/PanelView/listmodel.cpp
+@@ -177,7 +177,7 @@ QVariant ListModel::data(const QModelIndex& index, int role) const
+ if (properties()->displayIcons) {
+ if (_justForSizeHint)
+ return QPixmap(_view->fileIconSize(), _view->fileIconSize());
+- return _view->getIcon(fileitem);
++ return QIcon(_view->getIcon(fileitem));
+ }
+ break;
+ }
+--
+GitLab
+
+
+From f447f96f14fdb4f86ccc1286692accbec535ecb0 Mon Sep 17 00:00:00 2001
+From: Evgeny Brazgin <xapienz@phystech.edu>
+Date: Sun, 12 Mar 2023 21:35:27 -0700
+Subject: [PATCH 2/2] Don't set QStyle::State_None for brief view
+
+---
+ app/Panel/PanelView/krinterbriefview.cpp | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/app/Panel/PanelView/krinterbriefview.cpp b/app/Panel/PanelView/krinterbriefview.cpp
+index 69496f890..4042c163c 100644
+--- a/app/Panel/PanelView/krinterbriefview.cpp
++++ b/app/Panel/PanelView/krinterbriefview.cpp
+@@ -401,7 +401,6 @@ void KrInterBriefView::paintEvent(QPaintEvent *e)
+ intersectionSet(area, intersectVector);
+
+ foreach(const QModelIndex &mndx, intersectVector) {
+- option.state = QStyle::State_None;
+ option.rect = visualRect(mndx);
+ painter.save();
+
+--
+GitLab
+