Index: thumbnail/textcreator.cpp =================================================================== --- thumbnail/textcreator.cpp +++ thumbnail/textcreator.cpp @@ -136,8 +136,7 @@ } } - QColor bgColor = QColor ( 245, 245, 245 ); // light-grey background - m_pixmap.fill( bgColor ); + m_pixmap.fill( QPalette().color(QPalette::Active, QPalette::Window) ); QPainter painter( &m_pixmap );