Prevent recursive loads using AutoOpen

* Fix #3334 - AutoOpen is now processed after the database widget is put into view mode to prevent infinite recursion of unlock attempts if two databases  auto open each other.
This commit is contained in:
Jonathan White
2019-11-08 18:05:37 -05:00
committed by Janek Bevendorff
parent cb9929712c
commit 4edb623745
3 changed files with 11 additions and 2 deletions

View File

@@ -36,6 +36,12 @@
#define QUINT32_MAX 4294967295U
#endif
#if defined(Q_OS_WIN) || defined(Q_OS_MACOS)
#define FILE_CASE_SENSITIVE Qt::CaseInsensitive
#else
#define FILE_CASE_SENSITIVE Qt::CaseSensitive
#endif
template <typename T> struct AddConst
{
typedef const T Type;