summaryrefslogtreecommitdiff
path: root/src/plugins/qmakeprojectmanager/profileeditor.cpp
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-05-08 16:07:24 +0200
committerhjk <hjk121@nokiamail.com>2014-05-21 14:29:00 +0200
commit3462c5ef4256a5513f0b5f390fd6278d57d7caee (patch)
treec1ad65a6eda7af8800664389fb796db6defc98f9 /src/plugins/qmakeprojectmanager/profileeditor.cpp
parentb739ad38d453689ceea95bf6dbf653829c07012b (diff)
downloadqt-creator-3462c5ef4256a5513f0b5f390fd6278d57d7caee.tar.gz
IEditor: Make duplicatesSupported a value member
Change-Id: Iee75dd4155d5074bb319df79d006b6d5e2989e14 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/qmakeprojectmanager/profileeditor.cpp')
-rw-r--r--src/plugins/qmakeprojectmanager/profileeditor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qmakeprojectmanager/profileeditor.cpp b/src/plugins/qmakeprojectmanager/profileeditor.cpp
index 99b92d7463..575332e0b4 100644
--- a/src/plugins/qmakeprojectmanager/profileeditor.cpp
+++ b/src/plugins/qmakeprojectmanager/profileeditor.cpp
@@ -57,6 +57,7 @@ ProFileEditor::ProFileEditor(ProFileEditorWidget *editor)
{
setContext(Core::Context(Constants::C_PROFILEEDITOR,
TextEditor::Constants::C_TEXTEDITOR));
+ setDuplicateSupported(true);
}
Core::IEditor *ProFileEditor::duplicate()