Skip to content

Commit 854fdee

Browse files
committed
fix: build errors
Fix build errors
1 parent 3fecc89 commit 854fdee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/addim/configlib/model.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ QVariant AvailIMModel::dataForCategory(const QModelIndex &index,
178178

179179
// 设置背景色
180180
case Dtk::ViewItemBackgroundRole:
181-
return QVariant::fromValue(QPair<int, int>{QPalette::Base, DPalette::NoType});
181+
return QVariant::fromValue(QPair<int, int>{QPalette::Base, Dtk::Gui::DPalette::NoType});
182182

183183
default:
184184
return QVariant();
@@ -211,7 +211,7 @@ QVariant AvailIMModel::dataForItem(const QModelIndex &index, int role) const {
211211

212212
// 设置背景色
213213
case Dtk::ViewItemBackgroundRole:
214-
return QVariant::fromValue(QPair<int, int>{QPalette::Base, DPalette::NoType});
214+
return QVariant::fromValue(QPair<int, int>{QPalette::Base, Dtk::Gui::DPalette::NoType});
215215

216216
}
217217
return QVariant();

0 commit comments

Comments
 (0)