- qBittorrent is not exiting anymore when Main window is hidden and a dialog is closed (nasty long-standing bug...)

This commit is contained in:
Christophe Dumez 2007-07-14 12:35:04 +00:00
parent 8c5d38400a
commit 28ea505088
6 changed files with 118 additions and 110 deletions

View file

@ -149,6 +149,7 @@ int main(int argc, char *argv[]){
}
app.installTranslator(&translator);
app.setApplicationName("qBittorrent");
app.setQuitOnLastWindowClosed(false);
// Read torrents given on command line
QStringList torrentCmdLine = app.arguments();
// Remove first argument (program name)