Browse Source

- Destroy preview process cleanly on qBT exit if it is still running

adaptive-webui-19844
Christophe Dumez 18 years ago
parent
commit
e85a82a426
  1. 2
      src/GUI.cpp

2
src/GUI.cpp

@ -273,6 +273,8 @@ GUI::~GUI(){
delete DLListModel; delete DLListModel;
delete SearchListModel; delete SearchListModel;
delete SearchDelegate; delete SearchDelegate;
previewProcess->kill();
previewProcess->waitForFinished();
delete previewProcess; delete previewProcess;
delete connecStatusLblIcon; delete connecStatusLblIcon;
} }

Loading…
Cancel
Save