mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
- Make it impossible to open more than one options dialog
This commit is contained in:
parent
e4bf116ce8
commit
cbafac8ea9
1 changed files with 4 additions and 2 deletions
|
@ -922,8 +922,10 @@ void GUI::createTrayIcon() {
|
|||
|
||||
// Display Program Options
|
||||
void GUI::on_actionOptions_triggered() {
|
||||
options = new options_imp(this);
|
||||
connect(options, SIGNAL(status_changed()), this, SLOT(optionsSaved()));
|
||||
if(!options) {
|
||||
options = new options_imp(this);
|
||||
connect(options, SIGNAL(status_changed()), this, SLOT(optionsSaved()));
|
||||
}
|
||||
}
|
||||
|
||||
/*****************************************************
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue