diff --git a/src/drivers/Qt/TraceLogger.cpp b/src/drivers/Qt/TraceLogger.cpp index 120e316c..e9739016 100644 --- a/src/drivers/Qt/TraceLogger.cpp +++ b/src/drivers/Qt/TraceLogger.cpp @@ -1088,10 +1088,20 @@ void FCEUD_TraceInstruction(uint8 *opcode, int size) QTraceLogView::QTraceLogView(QWidget *parent) : QWidget(parent) { + QPalette pal; + QColor fg("black"), bg("white"); + font.setFamily("Courier New"); font.setStyle( QFont::StyleNormal ); font.setStyleHint( QFont::Monospace ); + pal = this->palette(); + pal.setColor(QPalette::Base , bg ); + pal.setColor(QPalette::Background, bg ); + pal.setColor(QPalette::WindowText, fg ); + + this->setPalette(pal); + calcFontData(); vbar = NULL;