mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
- Make it impossible to open more than one options dialog
This commit is contained in:
@@ -922,8 +922,10 @@ void GUI::createTrayIcon() {
|
|||||||
|
|
||||||
// Display Program Options
|
// Display Program Options
|
||||||
void GUI::on_actionOptions_triggered() {
|
void GUI::on_actionOptions_triggered() {
|
||||||
options = new options_imp(this);
|
if(!options) {
|
||||||
connect(options, SIGNAL(status_changed()), this, SLOT(optionsSaved()));
|
options = new options_imp(this);
|
||||||
|
connect(options, SIGNAL(status_changed()), this, SLOT(optionsSaved()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************
|
/*****************************************************
|
||||||
|
|||||||
Reference in New Issue
Block a user