Clean up multi threading patch, fix build and some bugs

Make strings translatable, remove some more debug code, fix tests,
reduce size of patch slightly, remove weird tooltip, don't crash when
closing database, simplify code, fix filters, don't link agains pthread
on Windows.
This commit is contained in:
Martin Kleusberg
2018-05-21 18:27:41 +02:00
parent 51dbe72e23
commit 3da520cdd1
16 changed files with 275 additions and 265 deletions

View File

@@ -15,8 +15,8 @@ QMAKE_CXXFLAGS += -std=c++11
CONFIG(unittest) {
QT += testlib
HEADERS += tests/testsqlobjects.h tests/TestImport.h tests/TestRegex.h
SOURCES += tests/testsqlobjects.cpp tests/TestImport.cpp tests/TestMain.cpp tests/TestRegex.cpp
HEADERS += tests/testsqlobjects.h tests/TestImport.h tests/TestRegex.h tests/TestRowCache.h
SOURCES += tests/testsqlobjects.cpp tests/TestImport.cpp tests/TestRegex.cpp tests/TestRowCache.cpp
} else {
SOURCES += main.cpp
}