OpenImageIO/oiio — pull request #221 by Alexander-Murashko (2012-01-26 20:01:31+00:00)
Title: 2 simple GUI improvements for iv

1. Now at start the main window appears in the center of the desktop. I don't know whether this is useful, but it looks better.
2. When clicking "Dark palette" in the preferences window, the application changes its palette dynamically. No restart required. (For this purpose it was necessary: to add a new public slot changePalette() to the ImageViewer class and to remove unnecessary field "QPalette m_palette;" from this class.) Also there was a FIXME which said that palette setting didn't work. Now it works. But by default changing a palette works only for the components which are not using system styles. Therefore for some elements it was required to change stylesheet instead of palette.