CVS import UI: mark the drop row in blue
That way it is distinct from the rest. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2f5d4720e9
commit
02103978ec
@ -226,6 +226,10 @@ QVariant ColumnNameResult::data(const QModelIndex &index, int role) const
|
||||
{
|
||||
if (!index.isValid())
|
||||
return QVariant();
|
||||
if (role == Qt::BackgroundColorRole)
|
||||
if (index.row() == 0)
|
||||
return QVariant(AIR_BLUE_TRANS);
|
||||
|
||||
if (role != Qt::DisplayRole)
|
||||
return QVariant();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user