Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37728811
en ru br
Репозитории ALT

Группа :: Работа с файлами
Пакет: 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();
 
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin