The title of SettingsDialog should be "Preferences", not "Options" on OS X.

This conforms to the entry in the menu entry, wich already changes its
name accordingly to comply with the Apple HIG.

Also, adjusted the docs that were missing the change of location in the menu.
This commit is contained in:
Daniel Molkentin
2009-09-17 10:38:53 +02:00
parent 4da0acb5e3
commit 29c073b2a3

View File

@@ -54,6 +54,11 @@ SettingsDialog::SettingsDialog(QWidget *parent, const QString &categoryId,
: QDialog(parent), m_applied(false)
{
setupUi(this);
#ifdef Q_OS_MAC
setWindowTitle(tr("Preferences"));
#else
setWindowTitle(tr("Options"));
#endif
QString initialCategory = categoryId;
QString initialPage = pageId;
if (initialCategory.isEmpty() && initialPage.isEmpty()) {