diff --git a/src/plugins/qmldesigner/components/componentcore/designeractionmanager.cpp b/src/plugins/qmldesigner/components/componentcore/designeractionmanager.cpp index 587bbfd0054..cd0e18578b2 100644 --- a/src/plugins/qmldesigner/components/componentcore/designeractionmanager.cpp +++ b/src/plugins/qmldesigner/components/componentcore/designeractionmanager.cpp @@ -272,11 +272,11 @@ public: } }; -static char xProperty[] = "x"; -static char yProperty[] = "y"; -static char zProperty[] = "z"; -static char widthProperty[] = "width"; -static char heightProperty[] = "height"; +const char xProperty[] = "x"; +const char yProperty[] = "y"; +const char zProperty[] = "z"; +const char widthProperty[] = "width"; +const char heightProperty[] = "height"; using namespace SelectionContextFunctors; diff --git a/src/plugins/qmldesigner/components/formeditor/anchorindicatorgraphicsitem.cpp b/src/plugins/qmldesigner/components/formeditor/anchorindicatorgraphicsitem.cpp index 692ec45f995..d199b9cd713 100644 --- a/src/plugins/qmldesigner/components/formeditor/anchorindicatorgraphicsitem.cpp +++ b/src/plugins/qmldesigner/components/formeditor/anchorindicatorgraphicsitem.cpp @@ -31,7 +31,7 @@ #include #include -static const int AngleDegree = 16; +const int AngleDegree = 16; namespace QmlDesigner { diff --git a/src/plugins/qmldesigner/components/formeditor/selectiontool.cpp b/src/plugins/qmldesigner/components/formeditor/selectiontool.cpp index ca925142585..a187682bf48 100644 --- a/src/plugins/qmldesigner/components/formeditor/selectiontool.cpp +++ b/src/plugins/qmldesigner/components/formeditor/selectiontool.cpp @@ -36,8 +36,8 @@ namespace QmlDesigner { -static const int s_startDragDistance = 20; -static const int s_startDragTime = 50; +const int s_startDragDistance = 20; +const int s_startDragTime = 50; SelectionTool::SelectionTool(FormEditorView *editorView) : AbstractFormEditorTool(editorView),