mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-12-06 00:32:40 -08:00
Add the auto hide functionality to the MessageWidget
This commit is contained in:
1 parent
1374c68274
commit
75cfe1c5dd
3 files changed
+43
-3
No files matched your search
@@ -35,6 +35,7 @@ OptionDialog::OptionDialog(QWidget *parent) :
|
||||
m_ui->warningWidget->showMessage(tr("The following options can be dangerous!\nChange them only if you know what you are doing."), MessageWidget::Warning);
|
||||
m_ui->warningWidget->setIcon(FilePath::instance()->icon("status", "dialog-warning"));
|
||||
m_ui->warningWidget->setCloseButtonVisible(false);
|
||||
m_ui->warningWidget->setAutoHideTimeout(-1);
|
||||
|
||||
m_ui->tabWidget->setEnabled(m_ui->enableHttpServer->isChecked());
|
||||
connect(m_ui->enableHttpServer, SIGNAL(toggled(bool)), m_ui->tabWidget, SLOT(setEnabled(bool)));
|
||||
|
||||
Reference in new issue
Block a user