summaryrefslogtreecommitdiffstats
path: root/kde/patch/kcalc/kcalc-kdebug_360105.patch
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2016-05-01 00:13:54 +0200
committer Eric Hameleers <alien@slackware.com>2016-05-01 00:13:54 +0200
commit3e6b9539aae9f7d6c3da49d4f4042fa133be9c44 (patch)
tree01202f1df296aa665056b4c8497b530819f9bb6e /kde/patch/kcalc/kcalc-kdebug_360105.patch
parent282b1f2689d71a15cc1ab4cd89e4ca3df1369171 (diff)
downloadktown-3e6b9539aae9f7d6c3da49d4f4042fa133be9c44.tar.gz
ktown-3e6b9539aae9f7d6c3da49d4f4042fa133be9c44.tar.xz
Patches for post Applications 16.04.0 bugs in kcalc and spectacle.
spectacle: - fix broken HiDPI support. - fix broken rectangular image capture on Nvidia GPU. kcalc: - Fix issue where kcalc has a zero-sized window and appears not to start.
Diffstat (limited to 'kde/patch/kcalc/kcalc-kdebug_360105.patch')
-rw-r--r--kde/patch/kcalc/kcalc-kdebug_360105.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/kde/patch/kcalc/kcalc-kdebug_360105.patch b/kde/patch/kcalc/kcalc-kdebug_360105.patch
new file mode 100644
index 0000000..a2ff272
--- /dev/null
+++ b/kde/patch/kcalc/kcalc-kdebug_360105.patch
@@ -0,0 +1,15 @@
+Fix issue where kcalc has a zero-sized window and appears not to start.
+
+Patch-by: Rex Dieter <rdieter@math.unl.edu>
+Gentoo-bug: 577782
+KDE-bug: 360105
+
+--- a/kcalc.cpp
++++ b/kcalc.cpp
+@@ -124,5 +124,5 @@ KCalculator::KCalculator(QWidget *parent
+ updateGeometry();
+
+- setFixedSize(minimumSize());
++ if ( ! minimumSize().isEmpty() ) setFixedSize(minimumSize());
+
+ updateDisplay(UPDATE_FROM_CORE);