mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 13:18:06 -06:00
- Optimized function that transform a number of seconds to a duration(days, hours, minutes, secs)
- Improved ETA calculation to avoid overflows (Added asserts to make sure it doesn't happen)
This commit is contained in:
@@ -19,15 +19,15 @@ DEFINES += VERSION_BUGFIX=0
|
||||
contains(DEBUG_MODE, 1){
|
||||
CONFIG += debug
|
||||
CONFIG -= release
|
||||
QMAKE_CXXFLAGS_RELEASE += -O1
|
||||
QMAKE_CXXFLAGS_DEBUG += -O1
|
||||
QMAKE_CXXFLAGS_RELEASE += -fwrapv -O1
|
||||
QMAKE_CXXFLAGS_DEBUG += -fwrapv -O1
|
||||
message(Debug build!)
|
||||
}
|
||||
contains(DEBUG_MODE, 0){
|
||||
CONFIG -= debug
|
||||
CONFIG += release
|
||||
QMAKE_CXXFLAGS_RELEASE += -O2
|
||||
QMAKE_CXXFLAGS_DEBUG += -O2
|
||||
QMAKE_CXXFLAGS_RELEASE += -fwrapv -O2
|
||||
QMAKE_CXXFLAGS_DEBUG += -fwrapv -O2
|
||||
message(Release build!)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user