diff options
Diffstat (limited to 'tests/auto/platformquirks.h')
-rw-r--r-- | tests/auto/platformquirks.h | 33 |
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 |