forked from qt-creator/qt-creator
Compile Windows
This commit is contained in:
@@ -31,7 +31,7 @@ bool BranchModel::Branch::parse(const QString &lineIn, bool *isCurrent)
|
|||||||
static inline Qt::ItemFlags typeToModelFlags(BranchModel::Type t)
|
static inline Qt::ItemFlags typeToModelFlags(BranchModel::Type t)
|
||||||
{
|
{
|
||||||
Qt::ItemFlags rc = Qt::ItemIsSelectable|Qt::ItemIsEnabled;
|
Qt::ItemFlags rc = Qt::ItemIsSelectable|Qt::ItemIsEnabled;
|
||||||
if (t == BranchModel::BranchModel::LocalBranches)
|
if (t == BranchModel::LocalBranches)
|
||||||
rc |= Qt::ItemIsUserCheckable;
|
rc |= Qt::ItemIsUserCheckable;
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user