summaryrefslogtreecommitdiff
path: root/src/plugins/perfprofiler
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2019-10-22 15:12:55 +0200
committerUlf Hermann <ulf.hermann@qt.io>2019-10-22 13:30:28 +0000
commitd485f9f359f752f0e18a8b6befa1e874a3d87d00 (patch)
tree89116771a6ce079487b4755c28410cee51914aac /src/plugins/perfprofiler
parent61bb28cdc07b4f488585ea23476e3b074df77fb3 (diff)
downloadqt-creator-d485f9f359f752f0e18a8b6befa1e874a3d87d00.tar.gz
PerfProfiler: Avoid Q_DISABLE_COPY_MOVE
Change-Id: I22e3028c52fe48a93f1546deb80be87856e0d200 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/perfprofiler')
-rw-r--r--src/plugins/perfprofiler/perfprofilerflamegraphmodel.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/perfprofiler/perfprofilerflamegraphmodel.h b/src/plugins/perfprofiler/perfprofilerflamegraphmodel.h
index 7854d954f6..712e96a5e8 100644
--- a/src/plugins/perfprofiler/perfprofilerflamegraphmodel.h
+++ b/src/plugins/perfprofiler/perfprofilerflamegraphmodel.h
@@ -38,9 +38,12 @@ struct PerfProfilerFlameGraphData;
class PerfProfilerFlameGraphModel : public QAbstractItemModel
{
Q_OBJECT
- Q_DISABLE_COPY_MOVE(PerfProfilerFlameGraphModel)
+ Q_DISABLE_COPY(PerfProfilerFlameGraphModel);
Q_ENUMS(Role)
public:
+ PerfProfilerFlameGraphModel(PerfProfilerFlameGraphModel &&) = delete;
+ PerfProfilerFlameGraphModel &operator=(PerfProfilerFlameGraphModel &&) = delete;
+
enum Role {
TypeIdRole = Qt::UserRole + 1, // Sort by data, not by displayed string
DisplayNameRole,