From 80a0227a57b62a30ec3fcac4e3d986cc97bc3ae4 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Mon, 26 Nov 2012 14:05:01 +0100 Subject: Always get the default flags from QAIM. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I9171bce02bc1cd0973fee43af1774f887b4f8668 Reviewed-by: Jędrzej Nowacki --- src/scripttools/debugging/qscriptbreakpointsmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/scripttools/debugging/qscriptbreakpointsmodel.cpp') diff --git a/src/scripttools/debugging/qscriptbreakpointsmodel.cpp b/src/scripttools/debugging/qscriptbreakpointsmodel.cpp index 9469157..32d9f38 100644 --- a/src/scripttools/debugging/qscriptbreakpointsmodel.cpp +++ b/src/scripttools/debugging/qscriptbreakpointsmodel.cpp @@ -475,7 +475,7 @@ Qt::ItemFlags QScriptBreakpointsModel::flags(const QModelIndex &index) const { if (!index.isValid()) return 0; - Qt::ItemFlags ret = Qt::ItemIsEnabled | Qt::ItemIsSelectable; + Qt::ItemFlags ret = QAbstractItemModel::flags(index); switch (index.column()) { case 0: ret |= Qt::ItemIsUserCheckable; -- cgit v1.2.1