QmlDesigner: Some cleanup

Change-Id: If1369124ca694bd5313213625636cf39a14af247
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Thomas Hartmann
2016-12-21 11:38:33 +01:00
parent 78dbc9fc9e
commit b872a38040
2 changed files with 6 additions and 6 deletions

View File

@@ -272,11 +272,11 @@ public:
}
};
char xProperty[] = "x";
char yProperty[] = "y";
char zProperty[] = "z";
char widthProperty[] = "width";
char heightProperty[] = "height";
static char xProperty[] = "x";
static char yProperty[] = "y";
static char zProperty[] = "z";
static char widthProperty[] = "width";
static char heightProperty[] = "height";
using namespace SelectionContextFunctors;

View File

@@ -230,7 +230,7 @@ void ShortCutManager::registerActions(const Core::Context &qmlDesignerMainContex
Core::ActionContainer *viewsMenu = Core::ActionManager::actionContainer(Core::Constants::M_WINDOW_VIEWS);
command = Core::ActionManager::registerAction(&m_toggleLeftSidebarAction, Constants::TOGGLE_LEFT_SIDEBAR, qmlDesignerMainContext);
command = Core::ActionManager::registerAction(&m_toggleLeftSidebarAction, Constants::TOGGLE_LEFT_SIDEBAR, qmlDesignerMainContext);
command->setAttribute(Core::Command::CA_Hide);
command->setDefaultKeySequence(QKeySequence("Ctrl+Alt+0"));
viewsMenu->addAction(command);