summaryrefslogtreecommitdiff
path: root/tests/auto
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@qt.io>2022-03-02 22:16:39 +0100
committerRobert Griebl <robert.griebl@qt.io>2022-03-17 19:40:26 +0100
commit7c7d7b18def270e4a6508419eff2b10ac4313a85 (patch)
tree7fb50daea99f8115155daa3ed4dffa55ca0cc36f /tests/auto
parentc6b74e43b2b7b43e9404658bd16cbe52b46103e8 (diff)
downloadqtapplicationmanager-7c7d7b18def270e4a6508419eff2b10ac4313a85.tar.gz
Remove the touch emulation feature
This feature was implemented before Qt's pointer handlers were introduced and thanks to those it really isn't needed nowadays. Plus, it was only ever working on X11, limiting its usefulness. Change-Id: Icb03e2e8ede4fc5b62564fc70c20a460fe2d0134 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/configuration/data/config1.yaml1
-rw-r--r--tests/auto/configuration/data/config2.yaml1
-rw-r--r--tests/auto/configuration/tst_configuration.cpp5
3 files changed, 0 insertions, 7 deletions
diff --git a/tests/auto/configuration/data/config1.yaml b/tests/auto/configuration/data/config1.yaml
index 77e9ad8b..2f6289b9 100644
--- a/tests/auto/configuration/data/config1.yaml
+++ b/tests/auto/configuration/data/config1.yaml
@@ -48,7 +48,6 @@ ui:
desktopProfile: 'compatibility'
esMajorVersion: 5
esMinorVersion: 15
- enableTouchEmulation: true
iconThemeSearchPaths: [ itsp1, itsp2 ]
iconThemeName: mytheme
style: mystyle
diff --git a/tests/auto/configuration/data/config2.yaml b/tests/auto/configuration/data/config2.yaml
index e18a0863..763f40d5 100644
--- a/tests/auto/configuration/data/config2.yaml
+++ b/tests/auto/configuration/data/config2.yaml
@@ -55,7 +55,6 @@ ui:
desktopProfile: 'classic'
esMajorVersion: 1
esMinorVersion: 0
- enableTouchEmulation: true
iconThemeSearchPaths: [ itsp3 ]
iconThemeName: mytheme2
style: mystyle2
diff --git a/tests/auto/configuration/tst_configuration.cpp b/tests/auto/configuration/tst_configuration.cpp
index aa506312..ba0eae75 100644
--- a/tests/auto/configuration/tst_configuration.cpp
+++ b/tests/auto/configuration/tst_configuration.cpp
@@ -102,7 +102,6 @@ void tst_Configuration::defaultConfig()
QCOMPARE(c.style(), qSL(""));
QCOMPARE(c.iconThemeName(), qSL(""));
QCOMPARE(c.iconThemeSearchPaths(), {});
- QCOMPARE(c.enableTouchEmulation(), false);
QCOMPARE(c.dltId(), qSL(""));
QCOMPARE(c.dltDescription(), qSL(""));
QCOMPARE(c.resources(), {});
@@ -186,7 +185,6 @@ void tst_Configuration::simpleConfig()
QCOMPARE(c.style(), qSL("mystyle"));
QCOMPARE(c.iconThemeName(), qSL("mytheme"));
QCOMPARE(c.iconThemeSearchPaths(), QStringList({ qSL("itsp1"), qSL("itsp2") }));
- QCOMPARE(c.enableTouchEmulation(), true);
QCOMPARE(c.dltId(), qSL("dltid"));
QCOMPARE(c.dltDescription(), qSL("dltdesc"));
QCOMPARE(c.dltLongMessageBehavior(), qSL("split"));
@@ -317,7 +315,6 @@ void tst_Configuration::mergedConfig()
QCOMPARE(c.style(), qSL("mystyle2"));
QCOMPARE(c.iconThemeName(), qSL("mytheme2"));
QCOMPARE(c.iconThemeSearchPaths(), QStringList({ qSL("itsp1"), qSL("itsp2"), qSL("itsp3") }));
- QCOMPARE(c.enableTouchEmulation(), true);
QCOMPARE(c.dltId(), qSL("dltid2"));
QCOMPARE(c.dltDescription(), qSL("dltdesc2"));
QCOMPARE(c.dltLongMessageBehavior(), qSL("truncate"));
@@ -445,7 +442,6 @@ void tst_Configuration::commandLineConfig()
<< "--logging-rule" << "cl-lr1"
<< "--logging-rule" << "cl-lr2"
<< "--qml-debug"
- << "--enable-touch-emulation"
<< "main-cl.qml";
QStringList strCommandLine;
@@ -495,7 +491,6 @@ void tst_Configuration::commandLineConfig()
QCOMPARE(c.style(), qSL(""));
QCOMPARE(c.iconThemeName(), qSL(""));
QCOMPARE(c.iconThemeSearchPaths(), {});
- QCOMPARE(c.enableTouchEmulation(), true);
QCOMPARE(c.dltId(), qSL(""));
QCOMPARE(c.dltDescription(), qSL(""));
QCOMPARE(c.resources(), {});