Add GUI option to switch off showing the document title

Pleasing users is not so bad
BUGS: 158401
This commit is contained in:
Albert Astals Cid 2011-08-09 16:59:49 +01:00
parent 44c5fbad1e
commit 9f99d536dc
2 changed files with 9 additions and 0 deletions

View file

@ -58,6 +58,13 @@
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="kcfg_DisplayDocumentTitle">
<property name="text">
<string>Display document title in title bar</string>
</property>
</widget>
</item>
</layout>
</item>
<item>

View file

@ -1738,6 +1738,8 @@ void Part::slotNewConfig()
// update Reviews settings
if ( m_sidebar->isItemEnabled(2) )
m_reviewsWidget->reparseConfig();
setWindowTitleFromDocument ();
}