summaryrefslogtreecommitdiffstats
path: root/source/kde/kde/patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/kde/patch')
-rw-r--r--source/kde/kde/patch/kio.patch2
-rw-r--r--source/kde/kde/patch/kio/kio.allow.change.panel.launcher.icons.diff10
2 files changed, 12 insertions, 0 deletions
diff --git a/source/kde/kde/patch/kio.patch b/source/kde/kde/patch/kio.patch
new file mode 100644
index 000000000..7a91249d0
--- /dev/null
+++ b/source/kde/kde/patch/kio.patch
@@ -0,0 +1,2 @@
+# Allow changing panel launcher icons:
+cat $CWD/patch/kio/kio.allow.change.panel.launcher.icons.diff | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
diff --git a/source/kde/kde/patch/kio/kio.allow.change.panel.launcher.icons.diff b/source/kde/kde/patch/kio/kio.allow.change.panel.launcher.icons.diff
new file mode 100644
index 000000000..ccd0c680a
--- /dev/null
+++ b/source/kde/kde/patch/kio/kio.allow.change.panel.launcher.icons.diff
@@ -0,0 +1,10 @@
+--- ./src/widgets/kpropertiesdialog.cpp.orig 2021-09-05 14:40:56.000000000 -0500
++++ ./src/widgets/kpropertiesdialog.cpp 2021-10-07 13:51:57.301053426 -0500
+@@ -1227,6 +1227,7 @@
+ Q_ASSERT(ro); // false isn't supported
+ if (ro && d->m_ui->fileNameLabel->isHidden()) {
+ Q_ASSERT(!d->m_bFromTemplate);
++ disconnect(d->m_ui->fileNameLineEdit, &QLineEdit::textChanged, this, &KFilePropsPlugin::nameFileChanged);
+ d->m_ui->fileNameLineEdit->setText(QString());
+ d->m_ui->fileNameLineEdit->hide();
+