mirror of
https://github.com/OpenMW/openmw.git
synced 2025-07-02 20:11:36 +00:00
Fix stub icon color
This commit is contained in:
parent
d97838def1
commit
5e8dc9cc03
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue