Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37796300
en ru br
ALT Linux repositórios
S:23.04.3-alt1

Group :: Ferramentas de Arquivo
RPM: kde5-kgpg

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: alt-remove-details-button.patch
Download


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();
 
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009