|
|
@ -155,6 +155,7 @@ MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindo |
|
|
|
//vSplitter->setChildrenCollapsible(false);
|
|
|
|
//vSplitter->setChildrenCollapsible(false);
|
|
|
|
hSplitter = new QSplitter(Qt::Vertical); |
|
|
|
hSplitter = new QSplitter(Qt::Vertical); |
|
|
|
hSplitter->setChildrenCollapsible(false); |
|
|
|
hSplitter->setChildrenCollapsible(false); |
|
|
|
|
|
|
|
hSplitter->setContentsMargins(0, 4, 0, 0); |
|
|
|
|
|
|
|
|
|
|
|
// Transfer List tab
|
|
|
|
// Transfer List tab
|
|
|
|
transferList = new TransferListWidget(hSplitter, this, QBtSession::instance()); |
|
|
|
transferList = new TransferListWidget(hSplitter, this, QBtSession::instance()); |
|
|
@ -235,7 +236,6 @@ MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindo |
|
|
|
|
|
|
|
|
|
|
|
// Load Window state and sizes
|
|
|
|
// Load Window state and sizes
|
|
|
|
readSettings(); |
|
|
|
readSettings(); |
|
|
|
properties->readSettings(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(!ui_locked) { |
|
|
|
if(!ui_locked) { |
|
|
|
if(pref.startMinimized()) |
|
|
|
if(pref.startMinimized()) |
|
|
@ -247,6 +247,8 @@ MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindo |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
properties->readSettings(); |
|
|
|
|
|
|
|
|
|
|
|
// Start watching the executable for updates
|
|
|
|
// Start watching the executable for updates
|
|
|
|
executable_watcher = new QFileSystemWatcher(); |
|
|
|
executable_watcher = new QFileSystemWatcher(); |
|
|
|
connect(executable_watcher, SIGNAL(fileChanged(QString)), this, SLOT(notifyOfUpdate(QString))); |
|
|
|
connect(executable_watcher, SIGNAL(fileChanged(QString)), this, SLOT(notifyOfUpdate(QString))); |
|
|
|