summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-12-03 00:36:35 (GMT)
committer Timothy Pearson <kb9vqf@pearsoncomputing.net>2014-12-03 00:36:35 (GMT)
commit467c6631fa0735954efce00f3c5d268565dce28f (patch)
tree0727ac782f601932e32fc5343439e5889bd37e35
parenta1093ee4e14448727fa256855c92ad6b2c750daf (diff)
downloadtde-style-qtcurve-467c6631.zip
tde-style-qtcurve-467c6631.tar.gz
Fix crash under Milk styler14.0.0
-rw-r--r--style/qtcurve.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/style/qtcurve.cpp b/style/qtcurve.cpp
index 5f95f66..9f06adb 100644
--- a/style/qtcurve.cpp
+++ b/style/qtcurve.cpp
@@ -8106,7 +8106,7 @@ const TQColor * QtCurveStyle::getMdiColors(const TQColorGroup &cg, bool active)
}
}
- if(opts.shadeMenubarOnlyWhenActive && SHADE_WINDOW_BORDER==opts.shadeMenubars &&
+ if(itsMdiColors && opts.shadeMenubarOnlyWhenActive && SHADE_WINDOW_BORDER==opts.shadeMenubars &&
itsActiveMdiColors[ORIGINAL_SHADE]==itsMdiColors[ORIGINAL_SHADE])
opts.shadeMenubarOnlyWhenActive=false;