projects
/
qtrapids
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Implementde server process termination from client UI
[qtrapids]
/
src
/
server
/
main.cpp
diff --git
a/src/server/main.cpp
b/src/server/main.cpp
index
7c3ab9f
..
fbb1283
100644
(file)
--- a/
src/server/main.cpp
+++ b/
src/server/main.cpp
@@
-15,5
+15,6
@@
int main(int argc, char *argv[])
QCoreApplication app(argc, argv);
TorrentSession server(&app, &settings);
+ QObject::connect(&server, SIGNAL(terminate()), &app, SLOT(quit()));
return app.exec();
}