Merge Mini graph fixes

This commit is contained in:
Hugo Teso 2017-04-12 19:07:00 +02:00
commit c0bc070aa4

View File

@ -1874,11 +1874,11 @@ void MemoryWidget::switchTheme(bool dark)
{ {
if (dark) if (dark)
{ {
ui->webSimpleGraph->setStyleSheet("background-color: rgb(64, 64, 64);"); ui->webSimpleGraph->page()->setBackgroundColor(QColor(64, 64, 64));
} }
else else
{ {
ui->webSimpleGraph->setStyleSheet(""); ui->webSimpleGraph->page()->setBackgroundColor(QColor(255, 255, 255));
} }
} }