Группа :: Работа с файлами
Пакет: kde5-kgpg
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: alt-remove-details-button.patch
Скачать
Скачать
diff --git a/detailedconsole.cpp b/detailedconsole.cpp
index 8ea3d35..c48bfa3 100644
--- a/detailedconsole.cpp
+++ b/detailedconsole.cpp
@@ -30,15 +30,7 @@ KgpgDetailedInfo::KgpgDetailedInfo(QWidget *parent, const QString &boxLabel, con
else
setWindowTitle(i18n("Info"));
- // FIXME: hopefully KMessageBox will provide a helper for this one day...
- // code copied from KMessageBox for now
- QPushButton *detailsButton = new QPushButton;
- detailsButton->setObjectName(QStringLiteral("detailsButton"));
- detailsButton->setText(QApplication::translate("KMessageBox", "&Details") + QStringLiteral(" >>"));
- detailsButton->setIcon(QIcon::fromTheme(QStringLiteral("help-about")));
-
QDialogButtonBox *buttonBox = new QDialogButtonBox(this);
- buttonBox->addButton(detailsButton, QDialogButtonBox::HelpRole);
buttonBox->addButton(QDialogButtonBox::Ok);
buttonBox->button(QDialogButtonBox::Ok)->setFocus();