diff --git a/src/frontends/qt4/GuiSelectionManager.cpp b/src/frontends/qt4/GuiSelectionManager.cpp index 694f791bda..5284d27d6e 100644 --- a/src/frontends/qt4/GuiSelectionManager.cpp +++ b/src/frontends/qt4/GuiSelectionManager.cpp @@ -145,7 +145,7 @@ bool GuiSelectionManager::isSelected(const QModelIndex & idx) QModelIndexList qmil = selectedModel->match(selectedModel->index(0), Qt::DisplayRole, str, 1, - Qt::MatchExactly | Qt::MatchWrap); + Qt::MatchFlags(Qt::MatchExactly | Qt::MatchWrap)); return !qmil.empty(); }