Fix stub icon color

pull/3235/head
Andrei Kortunov 8 months ago
parent d97838def1
commit 5e8dc9cc03

@ -349,7 +349,7 @@ void Launcher::DataFilesPage::populateFileViews(const QString& contentModelName)
{ {
// Pad to correct vertical alignment // Pad to correct vertical alignment
QPixmap pixmap(QSize(200, 200)); // Arbitrary big number, will be scaled down to widget size QPixmap pixmap(QSize(200, 200)); // Arbitrary big number, will be scaled down to widget size
pixmap.fill(ui.directoryListWidget->palette().base().color()); pixmap.fill(QColor(0, 0, 0, 0));
auto emptyIcon = QIcon(pixmap); auto emptyIcon = QIcon(pixmap);
item->setIcon(emptyIcon); item->setIcon(emptyIcon);
} }

Loading…
Cancel
Save