QmlProfiler: Allow setting breakpoints in profile result line

The results of a profile run are not displayed as clickable textmarks
anymore but moved to the annotation area. So do not block setting
breakpoints in those lines.

Fixes: QTCREATORBUG-28288
Change-Id: I517ce6f16dd9e03ff24b674e6b97aa4fcb5fe404
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2022-10-12 08:59:21 +02:00
parent c319163e66
commit 048fd5955d
2 changed files with 0 additions and 9 deletions

View File

@@ -34,13 +34,6 @@ void QmlProfilerTextMark::addTypeId(int typeId)
setLineAnnotation(statisticsView->summary(m_typeIds)); setLineAnnotation(statisticsView->summary(m_typeIds));
} }
void QmlProfilerTextMark::clicked()
{
int typeId = m_typeIds.takeFirst();
m_typeIds.append(typeId);
emit m_viewManager->typeSelected(typeId);
}
QmlProfilerTextMarkModel::QmlProfilerTextMarkModel(QObject *parent) : QObject(parent) QmlProfilerTextMarkModel::QmlProfilerTextMarkModel(QObject *parent) : QObject(parent)
{ {
} }

View File

@@ -17,8 +17,6 @@ public:
const Utils::FilePath &fileName, int lineNumber); const Utils::FilePath &fileName, int lineNumber);
void addTypeId(int typeId); void addTypeId(int typeId);
void clicked() override;
bool isClickable() const override { return true; }
bool addToolTipContent(QLayout *target) const override; bool addToolTipContent(QLayout *target) const override;
private: private: