- Force lists refresh before initially displaying the window to avoid lag

- Removed session tweaking on exit since it does not have any effect
This commit is contained in:
Christophe Dumez 2008-12-27 22:29:37 +00:00
parent 713c80451e
commit 87eee7029d
3 changed files with 3 additions and 10 deletions

View file

@ -231,6 +231,8 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), dis
QMainWindow::statusBar()->addPermanentWidget(upSpeedLbl);
QMainWindow::statusBar()->addPermanentWidget(statusSep4);
QMainWindow::statusBar()->addPermanentWidget(ratioLbl);
// Force list update before showing
updateLists(true);
if(!settings.value(QString::fromUtf8("Preferences/General/StartMinimized"), false).toBool()) {
show();
}