diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-12-02 18:36:35 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-12-02 18:36:35 -0600 |
commit | 467c6631fa0735954efce00f3c5d268565dce28f (patch) | |
tree | 0727ac782f601932e32fc5343439e5889bd37e35 | |
parent | a1093ee4e14448727fa256855c92ad6b2c750daf (diff) | |
download | tde-style-qtcurve-467c6631fa0735954efce00f3c5d268565dce28f.tar.gz tde-style-qtcurve-467c6631fa0735954efce00f3c5d268565dce28f.zip |
Fix crash under Milk styler14.0.0
-rw-r--r-- | style/qtcurve.cpp | 2 |
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; |