forked from qt-creator/qt-creator
QmlDesigner: use const without static in namespaces
Change-Id: Ie608e6f2d733c015b315d16ad58b159de4a72d75 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Thomas Hartmann
parent
ca507f2fe3
commit
e0c4f87e6e
@@ -272,11 +272,11 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
static char xProperty[] = "x";
|
const char xProperty[] = "x";
|
||||||
static char yProperty[] = "y";
|
const char yProperty[] = "y";
|
||||||
static char zProperty[] = "z";
|
const char zProperty[] = "z";
|
||||||
static char widthProperty[] = "width";
|
const char widthProperty[] = "width";
|
||||||
static char heightProperty[] = "height";
|
const char heightProperty[] = "height";
|
||||||
|
|
||||||
using namespace SelectionContextFunctors;
|
using namespace SelectionContextFunctors;
|
||||||
|
|
||||||
|
@@ -31,7 +31,7 @@
|
|||||||
#include <QGraphicsScene>
|
#include <QGraphicsScene>
|
||||||
#include <QGraphicsView>
|
#include <QGraphicsView>
|
||||||
|
|
||||||
static const int AngleDegree = 16;
|
const int AngleDegree = 16;
|
||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
|
@@ -36,8 +36,8 @@
|
|||||||
|
|
||||||
namespace QmlDesigner {
|
namespace QmlDesigner {
|
||||||
|
|
||||||
static const int s_startDragDistance = 20;
|
const int s_startDragDistance = 20;
|
||||||
static const int s_startDragTime = 50;
|
const int s_startDragTime = 50;
|
||||||
|
|
||||||
SelectionTool::SelectionTool(FormEditorView *editorView)
|
SelectionTool::SelectionTool(FormEditorView *editorView)
|
||||||
: AbstractFormEditorTool(editorView),
|
: AbstractFormEditorTool(editorView),
|
||||||
|
Reference in New Issue
Block a user