mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 05:08:05 -06:00
Fix race condition allowing to run multiple instances at the same time (closes #286968)
This commit is contained in:
@@ -338,6 +338,12 @@ contains(DEFINES, DISABLE_GUI) {
|
||||
ui/peer.ui \
|
||||
ui/confirmdeletiondlg.ui
|
||||
|
||||
contains(DEFINES, DISABLE_GUI) {
|
||||
include(qtsingleapp/qtsinglecoreapplication.pri)
|
||||
} else {
|
||||
include(qtsingleapp/qtsingleapplication.pri)
|
||||
}
|
||||
|
||||
SOURCES += main.cpp \
|
||||
bittorrent.cpp \
|
||||
qtorrenthandle.cpp \
|
||||
|
||||
Reference in New Issue
Block a user