mirror of https://github.com/KLayout/klayout.git
Fixed build on Qt5.
This commit is contained in:
parent
2aa11b44ad
commit
7ba0138cfc
|
|
@ -102,7 +102,7 @@ ConfirmationDialog::mark_error (const std::string &name)
|
|||
list->scrollToItem (i->second);
|
||||
for (int c = 0; c < list->columnCount (); ++c) {
|
||||
i->second->setData (c, Qt::BackgroundColorRole, QColor (255, 224, 244));
|
||||
i->second->setData (c, Qt::TextColorRole, Qt::black);
|
||||
i->second->setData (c, Qt::TextColorRole, QColor (Qt::black));
|
||||
}
|
||||
i->second->setData (1, Qt::DisplayRole, tr ("ERROR"));
|
||||
}
|
||||
|
|
@ -118,7 +118,7 @@ ConfirmationDialog::mark_success (const std::string &name)
|
|||
list->scrollToItem (i->second);
|
||||
for (int c = 0; c < list->columnCount (); ++c) {
|
||||
i->second->setData (c, Qt::BackgroundColorRole, QColor (160, 255, 160));
|
||||
i->second->setData (c, Qt::TextColorRole, Qt::black);
|
||||
i->second->setData (c, Qt::TextColorRole, QColor (Qt::black));
|
||||
}
|
||||
i->second->setData (1, Qt::DisplayRole, tr ("INSTALLED"));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue