forked from qt-creator/qt-creator
Navigation widgets need separate id and display name.
Such that the layout of the left hand sidebar can be restored even if the display language is changed.
This commit is contained in:
@@ -365,12 +365,17 @@ ProjectTreeWidgetFactory::~ProjectTreeWidgetFactory()
|
||||
{
|
||||
}
|
||||
|
||||
QString ProjectTreeWidgetFactory::displayName()
|
||||
QString ProjectTreeWidgetFactory::displayName() const
|
||||
{
|
||||
return tr("Projects");
|
||||
}
|
||||
|
||||
QKeySequence ProjectTreeWidgetFactory::activationSequence()
|
||||
QString ProjectTreeWidgetFactory::id() const
|
||||
{
|
||||
return QLatin1String("Projects");
|
||||
}
|
||||
|
||||
QKeySequence ProjectTreeWidgetFactory::activationSequence() const
|
||||
{
|
||||
return QKeySequence(Qt::ALT + Qt::Key_X);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user