mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 21:14:33 +00:00
parent
edc04292f7
commit
516f4dad48
@ -198,6 +198,7 @@ GUI::~GUI() {
|
|||||||
delete downloadingTorrentTab;
|
delete downloadingTorrentTab;
|
||||||
delete finishedTorrentTab;
|
delete finishedTorrentTab;
|
||||||
delete checkConnect;
|
delete checkConnect;
|
||||||
|
qDebug("1");
|
||||||
if(systrayCreator) {
|
if(systrayCreator) {
|
||||||
delete systrayCreator;
|
delete systrayCreator;
|
||||||
}
|
}
|
||||||
@ -205,19 +206,23 @@ GUI::~GUI() {
|
|||||||
delete myTrayIcon;
|
delete myTrayIcon;
|
||||||
delete myTrayIconMenu;
|
delete myTrayIconMenu;
|
||||||
}
|
}
|
||||||
|
qDebug("2");
|
||||||
delete tcpServer;
|
delete tcpServer;
|
||||||
delete connecStatusLblIcon;
|
delete connecStatusLblIcon;
|
||||||
delete tabs;
|
delete tabs;
|
||||||
// HTTP Server
|
// HTTP Server
|
||||||
if(httpServer)
|
if(httpServer)
|
||||||
delete httpServer;
|
delete httpServer;
|
||||||
|
qDebug("3");
|
||||||
// Keyboard shortcuts
|
// Keyboard shortcuts
|
||||||
delete switchSearchShortcut;
|
delete switchSearchShortcut;
|
||||||
delete switchSearchShortcut2;
|
delete switchSearchShortcut2;
|
||||||
delete switchDownShortcut;
|
delete switchDownShortcut;
|
||||||
delete switchUpShortcut;
|
delete switchUpShortcut;
|
||||||
delete switchRSSShortcut;
|
delete switchRSSShortcut;
|
||||||
|
qDebug("4");
|
||||||
delete BTSession;
|
delete BTSession;
|
||||||
|
qDebug("5");
|
||||||
}
|
}
|
||||||
|
|
||||||
void GUI::on_actionWebsite_triggered() const {
|
void GUI::on_actionWebsite_triggered() const {
|
||||||
|
@ -77,6 +77,7 @@ bittorrent::bittorrent() : timerScan(0), DHTEnabled(false), preAllocateAll(false
|
|||||||
|
|
||||||
// Main destructor
|
// Main destructor
|
||||||
bittorrent::~bittorrent() {
|
bittorrent::~bittorrent() {
|
||||||
|
qDebug("BTSession deletion");
|
||||||
// Set Session settings
|
// Set Session settings
|
||||||
session_settings ss;
|
session_settings ss;
|
||||||
ss.tracker_receive_timeout = 1;
|
ss.tracker_receive_timeout = 1;
|
||||||
|
@ -80,6 +80,7 @@ class torrentAdditionDialog : public QDialog, private Ui_addTorrentDialog{
|
|||||||
connect(actionHigh, SIGNAL(triggered()), this, SLOT(highSelection()));
|
connect(actionHigh, SIGNAL(triggered()), this, SLOT(highSelection()));
|
||||||
connect(actionMaximum, SIGNAL(triggered()), this, SLOT(maximumSelection()));
|
connect(actionMaximum, SIGNAL(triggered()), this, SLOT(maximumSelection()));
|
||||||
torrentContentList->header()->resizeSection(0, 200);
|
torrentContentList->header()->resizeSection(0, 200);
|
||||||
|
torrentContentList->header()->setResizeMode(0, QHeaderView::Stretch);
|
||||||
QString home = QDir::homePath();
|
QString home = QDir::homePath();
|
||||||
if(home[home.length()-1] != QDir::separator()){
|
if(home[home.length()-1] != QDir::separator()){
|
||||||
home += QDir::separator();
|
home += QDir::separator();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user