Manager: remove the placeholder wizard help entirely

Clearly some people wouldn't understand that it's disabled...
This commit is contained in:
Alexander Babikov
2025-08-13 18:52:01 +05:00
parent 492819b7af
commit babdab5eb7
2 changed files with 0 additions and 37 deletions

View File

@@ -62,41 +62,9 @@ VMManagerAddMachine(QWidget *parent) : QWizard(parent)
setOption(HaveHelpButton, false);
// setPixmap(LogoPixmap, QPixmap(":/settings/qt/icons/86Box-gray.ico"));
#if 0
connect(this, &QWizard::helpRequested, this, &VMManagerAddMachine::showHelp);
#endif
setWindowTitle(tr("Add new system wizard"));
}
#if 0
void
VMManagerAddMachine::showHelp()
{
// TBD
static QString lastHelpMessage;
QString message;
// Help will depend on the current page
switch (currentId()) {
case Page_Intro:
message = tr("This is the into page.");
break;
default:
message = tr("No help has been added yet, you're on your own.");
break;
}
if (lastHelpMessage == message) {
message = tr("Did you click help twice?");
}
QMessageBox::information(this, tr("Add new system wizard help"), message);
lastHelpMessage = message;
}
#endif
IntroPage::
IntroPage(QWidget *parent)
{

View File

@@ -41,11 +41,6 @@ public:
};
explicit VMManagerAddMachine(QWidget *parent = nullptr);
#if 0
private slots:
void showHelp();
#endif
};
class IntroPage : public QWizardPage {