diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-20 04:02:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 13:55:43 +0300 |
commit | d65f51b41a9d84c501bb25bc3849ffd8446fb2e6 (patch) | |
tree | 650a8cbdb4b33643e6465e74d85eb3fca6b428d2 /src/gui/widgets/window.cpp | |
parent | 35efb9eba3a198b1dd2959434e82c8da45af689e (diff) | |
download | mv-d65f51b41a9d84c501bb25bc3849ffd8446fb2e6.tar.gz mv-d65f51b41a9d84c501bb25bc3849ffd8446fb2e6.tar.bz2 mv-d65f51b41a9d84c501bb25bc3849ffd8446fb2e6.tar.xz mv-d65f51b41a9d84c501bb25bc3849ffd8446fb2e6.zip |
Fix palettes loading and using.
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r-- | src/gui/widgets/window.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index ae47cb001..5495cd310 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -143,9 +143,7 @@ Window::Window(const std::string &caption, const bool modal, addWidgetListener(this); mForegroundColor = getThemeColor(Theme::WINDOW); - logger->log("window palettes: %d, %d", mPalette, childPalette); - if (childPalette != mPalette) - setPalette(childPalette); + setPalette(childPalette); } Window::~Window() |