# HG changeset patch # User John Donoghue # Date 1389662475 18000 # Node ID 8449cc186059eed591f05a7f911f46ea775073b3 # Parent f227bb47314fb6fcd5428bd6ac6df3bea407450b Set terminal palette background color (Bug #41206) * libgui/qterminal/libqterminal/win32/QWinTerminalImpl.cpp (QConsolePrivate::setBackgroundColor): Set color palette usingbackground color. diff -r f227bb47314f -r 8449cc186059 libgui/qterminal/libqterminal/win32/QWinTerminalImpl.cpp --- a/libgui/qterminal/libqterminal/win32/QWinTerminalImpl.cpp Mon Jan 13 10:48:49 2014 -0800 +++ b/libgui/qterminal/libqterminal/win32/QWinTerminalImpl.cpp Mon Jan 13 20:21:15 2014 -0500 @@ -575,6 +575,9 @@ void QConsolePrivate::setBackgroundColor (const QColor& color) { m_colors[15] = color; + + QPalette palette (color); + m_consoleView->setPalette (palette); } void QConsolePrivate::setForegroundColor (const QColor& color)