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:
@@ -413,12 +413,17 @@ FolderNavigationWidgetFactory::~FolderNavigationWidgetFactory()
|
||||
{
|
||||
}
|
||||
|
||||
QString FolderNavigationWidgetFactory::displayName()
|
||||
QString FolderNavigationWidgetFactory::displayName() const
|
||||
{
|
||||
return tr("File System");
|
||||
}
|
||||
|
||||
QKeySequence FolderNavigationWidgetFactory::activationSequence()
|
||||
QString FolderNavigationWidgetFactory::id() const
|
||||
{
|
||||
return QLatin1String("File System");
|
||||
}
|
||||
|
||||
QKeySequence FolderNavigationWidgetFactory::activationSequence() const
|
||||
{
|
||||
return QKeySequence(Qt::ALT + Qt::Key_Y);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user