Fixed dark theme mini graph background

This commit is contained in:
Hugo Teso 2017-04-12 19:06:29 +02:00
parent eae419ef3b
commit 3caafc437e

View File

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