Changeset View
Changeset View
Standalone View
Standalone View
src/kaboutapplicationdialog.cpp
Show First 20 Lines • Show All 134 Lines • ▼ Show 20 Line(s) | 134 | if (!aboutData.credits().isEmpty()) { | |||
---|---|---|---|---|---|
135 | QWidget *creditWidget = createCreditWidget(aboutData.credits(), aboutData.ocsProviderUrl(), q); | 135 | QWidget *creditWidget = createCreditWidget(aboutData.credits(), aboutData.ocsProviderUrl(), q); | ||
136 | tabWidget->addTab(creditWidget, i18n("Thanks To")); | 136 | tabWidget->addTab(creditWidget, i18n("Thanks To")); | ||
137 | } | 137 | } | ||
138 | 138 | | |||
139 | //Finally, the optional translators page... | 139 | //Finally, the optional translators page... | ||
140 | if (!(opt & HideTranslators) && !aboutData.translators().isEmpty()) { | 140 | if (!(opt & HideTranslators) && !aboutData.translators().isEmpty()) { | ||
141 | QWidget *translatorWidget = createTranslatorsWidget(aboutData.translators(), aboutData.ocsProviderUrl(), q); | 141 | QWidget *translatorWidget = createTranslatorsWidget(aboutData.translators(), aboutData.ocsProviderUrl(), q); | ||
142 | 142 | | |||
143 | tabWidget->addTab(translatorWidget, i18n("Translation")); | 143 | tabWidget->addTab(translatorWidget, i18nc("@title:tab", "Translation")); | ||
144 | } | 144 | } | ||
145 | 145 | | |||
146 | createForm(titleWidget, tabWidget, q); | 146 | createForm(titleWidget, tabWidget, q); | ||
147 | } | 147 | } | ||
148 | 148 | | |||
149 | KAboutApplicationDialog::~KAboutApplicationDialog() | 149 | KAboutApplicationDialog::~KAboutApplicationDialog() | ||
150 | { | 150 | { | ||
151 | delete d; | 151 | delete d; | ||
152 | // The delegate wants to be deleted before the items it created, otherwise | 152 | // The delegate wants to be deleted before the items it created, otherwise | ||
153 | // complains bitterly about it | 153 | // complains bitterly about it | ||
154 | qDeleteAll(findChildren<KWidgetItemDelegate *>()); | 154 | qDeleteAll(findChildren<KWidgetItemDelegate *>()); | ||
155 | } | 155 | } |