Showing asterisk on EditorToolbar for unsaved files with long names

Task-number: QTCREATORBUG-8003

Change-Id: If9ac6d75123e65486ff0cf243c9537805f3fe5a3
Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
Vasiliy Sorokin
2012-10-11 11:18:26 +04:00
committed by David Schulz
parent 67b0637934
commit a134076062
2 changed files with 15 additions and 1 deletions

View File

@@ -134,6 +134,7 @@ EditorToolBar::EditorToolBar(QWidget *parent) :
connect(d->m_goForwardAction, SIGNAL(triggered()), this, SIGNAL(goForwardClicked()));
d->m_editorList->setProperty("hideicon", true);
d->m_editorList->setProperty("notelideasterisk", true);
d->m_editorList->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
d->m_editorList->setMinimumContentsLength(20);
d->m_editorList->setModel(d->m_editorsListModel);