diff --git a/QtMeshViewer/Source/FileInfoWindow.cpp b/QtMeshViewer/Source/FileInfoWindow.cpp index 62c758d..47e19af 100644 --- a/QtMeshViewer/Source/FileInfoWindow.cpp +++ b/QtMeshViewer/Source/FileInfoWindow.cpp @@ -9,7 +9,7 @@ FileInfoWindow::FileInfoWindow(QWidget *parent) setWindowFlags(Qt::Tool | Qt::NoDropShadowWindowHint); - ui->scrollArea->setStyleSheet("background-color: #ffffff"); + ui->scrollArea->widget()->setStyleSheet("background-color: #ffffff"); }