mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 01:44:26 +00:00
- Fixed Qt4 warning when deleting options
This commit is contained in:
parent
3678aa4d23
commit
90879386d5
@ -14,6 +14,7 @@
|
|||||||
- BUGFIX: Fixed several memory leaks
|
- BUGFIX: Fixed several memory leaks
|
||||||
- BUGFIX: WebUI is now working with IE7
|
- BUGFIX: WebUI is now working with IE7
|
||||||
- BUGFIX: Fixed spacing problem in toolbar when toggling its visibility
|
- BUGFIX: Fixed spacing problem in toolbar when toggling its visibility
|
||||||
|
- BUGFIX: Fixed some compilation and Qt4 warnings
|
||||||
|
|
||||||
* Unknown - Christophe Dumez <chris@qbittorrent.org> - v1.2.1
|
* Unknown - Christophe Dumez <chris@qbittorrent.org> - v1.2.1
|
||||||
- BUGFIX: Fixed possible crash when deleting a torrent permanently
|
- BUGFIX: Fixed possible crash when deleting a torrent permanently
|
||||||
|
@ -1119,8 +1119,10 @@ void GUI::configureSession(bool deleteOptions) {
|
|||||||
displayRSSTab(false);
|
displayRSSTab(false);
|
||||||
}
|
}
|
||||||
// Clean up
|
// Clean up
|
||||||
if(deleteOptions) {
|
if(deleteOptions && options) {
|
||||||
delete options;
|
qDebug("Deleting options");
|
||||||
|
//delete options;
|
||||||
|
options->deleteLater();
|
||||||
}
|
}
|
||||||
qDebug("Session configured");
|
qDebug("Session configured");
|
||||||
}
|
}
|
||||||
|
@ -64,7 +64,7 @@ class GUI : public QMainWindow, private Ui::MainWindow{
|
|||||||
QList<QPair<QTorrentHandle,QString> > unauthenticated_trackers;
|
QList<QPair<QTorrentHandle,QString> > unauthenticated_trackers;
|
||||||
// GUI related
|
// GUI related
|
||||||
QTabWidget *tabs;
|
QTabWidget *tabs;
|
||||||
options_imp *options;
|
QPointer<options_imp> options;
|
||||||
QSystemTrayIcon *myTrayIcon;
|
QSystemTrayIcon *myTrayIcon;
|
||||||
QPointer<QTimer> systrayCreator;
|
QPointer<QTimer> systrayCreator;
|
||||||
QMenu *myTrayIconMenu;
|
QMenu *myTrayIconMenu;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user