summaryrefslogtreecommitdiffstats
path: root/kde/patch/kcalc/kcalc-kdebug_360105.patch
blob: a2ff272a47cb9fbe43f292eeb2e31ccb5aaef0b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);