aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/coreplugin/sidebarwidget.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2014-10-09 16:03:27 +0200
committerEike Ziller <eike.ziller@theqtcompany.com>2014-10-13 11:17:52 +0200
commit85a6ea6c98d6ce5bd20f759d66d4c5751199471a (patch)
treec9403c952484d569bba52c78d7321683dc92c8ca /src/plugins/coreplugin/sidebarwidget.h
parent3c59cdd0319fbf1099f378907aeac514d1d57810 (diff)
(Help)SideBar fixes
1. Get rid of the need to remember the side bar items, instead use the IDs for activation. 2. Fix issue with empty side bar that cannot be shown, if settings exist but contain invalid item IDs. 3. Use actual IDs instead of translated window titles for item IDs. This requires using a different settings group to avoid issues with 2. when going back to earlier versions of Qt Creator. Change-Id: I1a760aa5a019db3231803af1bb72f83db49ba6b0 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/plugins/coreplugin/sidebarwidget.h')
-rw-r--r--src/plugins/coreplugin/sidebarwidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/coreplugin/sidebarwidget.h b/src/plugins/coreplugin/sidebarwidget.h
index a3471987a5..363667da23 100644
--- a/src/plugins/coreplugin/sidebarwidget.h
+++ b/src/plugins/coreplugin/sidebarwidget.h
@@ -61,7 +61,7 @@ public:
void updateAvailableItems();
void removeCurrentItem();
- Core::Command *command(const QString &id) const;
+ Core::Command *command(const QString &title) const;
signals:
void splitMe();