mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-10 15:45:37 +00:00
Do not make redundant copy
This commit is contained in:
parent
3ebeaaa3bb
commit
a9108a743d
@ -71,7 +71,7 @@ bool CSVWorld::DataDisplayDelegate::eventFilter(QObject* target, QEvent* event)
|
|||||||
QColor themeColor = QApplication::palette().text().color();
|
QColor themeColor = QApplication::palette().text().color();
|
||||||
if (themeColor != mPixmapsColor)
|
if (themeColor != mPixmapsColor)
|
||||||
{
|
{
|
||||||
mPixmapsColor = themeColor;
|
mPixmapsColor = std::move(themeColor);
|
||||||
|
|
||||||
buildPixmaps();
|
buildPixmaps();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user