Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37593325
en ru br
ALT Linux repos
S:23.04.3-alt1

Group :: System/Configuration/Printing
RPM: kde5-print-manager

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

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


--- a/add-printer/AddPrinterAssistant.cpp
+++ b/add-printer/AddPrinterAssistant.cpp
@@ -30,12 +30,13 @@ AddPrinterAssistant::AddPrinterAssistant
     // Needed so we have our dialog size saved
     setAttribute(Qt::WA_DeleteOnClose);
 
-    QPushButton *helpButton = buttonBox()->addButton(QDialogButtonBox::Help);
+    QPushButton *helpButton = buttonBox()->button(QDialogButtonBox::Help);
     // Configure the help button to be flat, disabled and empty
     helpButton->setFlat(true);
     helpButton->setEnabled(false);
     helpButton->setIcon(QIcon());
     helpButton->setText(QString());
+    helpButton->hide();
 
     // Setup the busy cursor
     m_busySeq = new KPixmapSequenceOverlayPainter(this);
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin