mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
Don't show validation result dialog on every key input
Instead of showing dialog, now it relies on icon to show the validation result. PR #17391.
This commit is contained in:
@@ -77,12 +77,6 @@ class OptionsDialog final : public QDialog, public GUIApplicationComponent
|
||||
TAB_ADVANCED
|
||||
};
|
||||
|
||||
enum class ShowError
|
||||
{
|
||||
NotShow,
|
||||
Show
|
||||
};
|
||||
|
||||
public:
|
||||
explicit OptionsDialog(IGUIApplication *app, QWidget *parent = nullptr);
|
||||
~OptionsDialog() override;
|
||||
@@ -111,8 +105,8 @@ private slots:
|
||||
void on_removeWatchedFolderButton_clicked();
|
||||
void on_registerDNSBtn_clicked();
|
||||
void setLocale(const QString &localeStr);
|
||||
void webUIHttpsCertChanged(const Path &path, ShowError showError);
|
||||
void webUIHttpsKeyChanged(const Path &path, ShowError showError);
|
||||
void webUIHttpsCertChanged(const Path &path);
|
||||
void webUIHttpsKeyChanged(const Path &path);
|
||||
|
||||
private:
|
||||
void showEvent(QShowEvent *e) override;
|
||||
|
||||
Reference in New Issue
Block a user