|
|
@ -158,7 +158,7 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), for |
|
|
|
// Start download list refresher
|
|
|
|
// Start download list refresher
|
|
|
|
refresher = new QTimer(this); |
|
|
|
refresher = new QTimer(this); |
|
|
|
connect(refresher, SIGNAL(timeout()), this, SLOT(updateLists())); |
|
|
|
connect(refresher, SIGNAL(timeout()), this, SLOT(updateLists())); |
|
|
|
refresher->start(2000); |
|
|
|
refresher->start(1500); |
|
|
|
previewProcess = new QProcess(this); |
|
|
|
previewProcess = new QProcess(this); |
|
|
|
connect(previewProcess, SIGNAL(finished(int, QProcess::ExitStatus)), this, SLOT(cleanTempPreviewFile(int, QProcess::ExitStatus))); |
|
|
|
connect(previewProcess, SIGNAL(finished(int, QProcess::ExitStatus)), this, SLOT(cleanTempPreviewFile(int, QProcess::ExitStatus))); |
|
|
|
// Accept drag 'n drops
|
|
|
|
// Accept drag 'n drops
|
|
|
|