summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-11-04 15:33:24 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-05 02:31:07 +0100
commit59309fa404d25cac3200068789f7c659b82db132 (patch)
tree074f77f751fcda59057e7c1d697189765e786288 /tests
parent79c99466aa9a893036d6d4290a81cdbe658bc286 (diff)
Remove unused PlatformQuirks functions.
These functions are no longer used anywhere in qtbase and are highly unlikely to be used elsewhere. Change-Id: I8e7c433c3b3e799ce0e5bc465182a5046275eb00 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/platformquirks.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/tests/auto/platformquirks.h b/tests/auto/platformquirks.h
index bf2f843502..b9c9885bc4 100644
--- a/tests/auto/platformquirks.h
+++ b/tests/auto/platformquirks.h
@@ -54,27 +54,6 @@
struct PlatformQuirks
{
- enum MediaFileTypes
- {
- mp3,
- wav,
- ogg
- };
-
- /* On some platforms, libpng or libjpeg sacrifice precision for speed.
- Esp. with NEON support, color values after decoding can be off by up
- to three bytes.
- */
- static inline bool isImageLoaderImprecise()
- {
-#if defined(Q_WS_X11)
- // ### this is a very bad assumption, we should really check the version of libjpeg
- return X11->desktopEnvironment == DE_MEEGO_COMPOSITOR;
-#else
- return false;
-#endif
- }
-
/* Some windowing systems automatically maximize apps on startup (e.g. Maemo)
"Normal" fixed-sized windows do not work, the WM ignores their size settings.
*/
@@ -95,18 +74,6 @@ struct PlatformQuirks
return true;
#endif
}
-
- /* On some systems an ogg codec is not installed by default.
- The autotests have to know which fileType is the default on the system*/
- static inline MediaFileTypes defaultMediaFileType()
- {
-#ifdef Q_WS_X11
- // ### very bad assumption
- if (X11->desktopEnvironment == DE_MEEGO_COMPOSITOR)
- return PlatformQuirks::mp3;
-#endif
- return PlatformQuirks::ogg;
- }
};
#endif