- Fix completed torrent counting

- Make sure the status bar is displayed before showing the GUI
This commit is contained in:
Christophe Dumez 2009-11-18 17:32:54 +00:00
parent 54f2e66464
commit cedc87a703
3 changed files with 59 additions and 62 deletions

View file

@ -196,14 +196,14 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), dis
// Accept drag 'n drops
setAcceptDrops(true);
createKeyboardShortcuts();
// Create status bar
status_bar = new StatusBar(QMainWindow::statusBar(), BTSession);
show();
// Load Window state and sizes
readSettings();
properties->readSettings();
// Create status bar
status_bar = new StatusBar(QMainWindow::statusBar(), BTSession);
if(Preferences::startMinimized()) {
setWindowState(Qt::WindowMinimized);