Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJonathan White <support@dmapps.us>2020-06-04 15:10:43 +0300
committerJonathan White <support@dmapps.us>2020-06-04 17:03:40 +0300
commit2073f2ddc30f6922eda89ee3c66e80f9cb426859 (patch)
treef28e002fb0955f30c3ba96777735d2f3c3a97a28 /tests
parent6f5e13815c656486b8bd1fb0a0c2b3bcfb06dfd9 (diff)
Fix theming with Qt 5.15
* Fixes #4765 * Fixes #4766
Diffstat (limited to 'tests')
-rw-r--r--tests/gui/TestGui.cpp1
-rw-r--r--tests/gui/TestGuiBrowser.cpp1
-rw-r--r--tests/gui/TestGuiFdoSecrets.cpp1
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/gui/TestGui.cpp b/tests/gui/TestGui.cpp
index 5cfe323b6..c2ef5e192 100644
--- a/tests/gui/TestGui.cpp
+++ b/tests/gui/TestGui.cpp
@@ -95,6 +95,7 @@ int main(int argc, char* argv[])
app.setApplicationVersion(KEEPASSXC_VERSION);
app.setQuitOnLastWindowClosed(false);
app.setAttribute(Qt::AA_Use96Dpi, true);
+ app.applyTheme();
QTEST_DISABLE_KEYPAD_NAVIGATION
TestGui tc;
QTEST_SET_MAIN_SOURCE_PATH
diff --git a/tests/gui/TestGuiBrowser.cpp b/tests/gui/TestGuiBrowser.cpp
index 6eac62798..fb981d6df 100644
--- a/tests/gui/TestGuiBrowser.cpp
+++ b/tests/gui/TestGuiBrowser.cpp
@@ -59,6 +59,7 @@ int main(int argc, char* argv[])
app.setApplicationVersion(KEEPASSXC_VERSION);
app.setQuitOnLastWindowClosed(false);
app.setAttribute(Qt::AA_Use96Dpi, true);
+ app.applyTheme();
QTEST_DISABLE_KEYPAD_NAVIGATION
TestGuiBrowser tc;
QTEST_SET_MAIN_SOURCE_PATH
diff --git a/tests/gui/TestGuiFdoSecrets.cpp b/tests/gui/TestGuiFdoSecrets.cpp
index d223972c2..c869aac4f 100644
--- a/tests/gui/TestGuiFdoSecrets.cpp
+++ b/tests/gui/TestGuiFdoSecrets.cpp
@@ -63,6 +63,7 @@ int main(int argc, char* argv[])
app.setApplicationVersion(KEEPASSXC_VERSION);
app.setQuitOnLastWindowClosed(false);
app.setAttribute(Qt::AA_Use96Dpi, true);
+ app.applyTheme();
QTEST_DISABLE_KEYPAD_NAVIGATION
TestGuiFdoSecrets tc;
QTEST_SET_MAIN_SOURCE_PATH