1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 17:42:10 +01:00
Commit Graph

11 Commits

Author SHA1 Message Date
David Rosca
1ea0c570c4 SqlDatabase: Remove exec and execAsync methods 2017-12-23 18:34:46 +01:00
David Rosca
c1c168aae9 Create every QSqlQuery with correct database for current thread
Queries are now always executed on correct database instance.
Databases are also stored in thread local storage instead of in hash
table with mutex.

Closes #2498
2017-12-18 13:06:42 +01:00
David Rosca
d00e769749 Initial rename to Falkon 2017-08-25 17:32:32 +02:00
David Rosca
c2d38dfb7d SqlDatabase::query now modifies the passed SqlQuery 2016-12-20 11:22:31 +01:00
David Rosca
d19f5de7bf SqlDatabase: Skip copy when executing query on main thread 2016-12-11 11:05:51 +01:00
David Rosca
8d7cfb0e2a Remove some Qt 4 specific code 2015-02-26 12:17:47 +01:00
nowrep
20cd658274 [ProfileManager] Fix currentProfile() cutting last char of profile name 2014-03-16 15:31:19 +01:00
nowrep
9c7e9a1396 Fixed building with Qt 4 2014-03-15 20:20:39 +01:00
nowrep
7e57cb63f5 [LocationCompleter] Run completions search in separate thread
Currently, there is one issue with inline domain completion. It is
also searched from the separate thread, and thus it gets displayed
after a small delay.

Closes #1135
2014-03-15 19:36:03 +01:00
nowrep
0a622e325c [SqlDatabase] New implementation, hold connections for threads
Instead of using worker thread, use multiple threads with QtConcurrent,
and hold database connections for each thread.
2014-03-15 19:16:50 +01:00
nowrep
167ae2af50 [SqlDatabase] New class allowing to exec Sql queries in separate thread
It uses its own QSqlDatabase connection, which is supported according to
docs.
2014-03-15 01:03:06 +01:00