mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
- Fixed Qt4 warning when deleting options
This commit is contained in:
@@ -1119,8 +1119,10 @@ void GUI::configureSession(bool deleteOptions) {
|
||||
displayRSSTab(false);
|
||||
}
|
||||
// Clean up
|
||||
if(deleteOptions) {
|
||||
delete options;
|
||||
if(deleteOptions && options) {
|
||||
qDebug("Deleting options");
|
||||
//delete options;
|
||||
options->deleteLater();
|
||||
}
|
||||
qDebug("Session configured");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user