[vlmc-devel] removed check for qt version older than 5
Sanket Markan
git at videolan.org
Tue Mar 8 13:01:19 CET 2016
vlmc | branch: master | Sanket Markan <sanketmarkan at gmail.com> | Mon Mar 7 18:47:38 2016 +0530| [55c3e3c7558a78f111349559b74e2b7bcd447dca] | committer: Hugo Beauzée-Luyssen
removed check for qt version older than 5
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> https://code.videolan.org/videolan/vlmc/commit/55c3e3c7558a78f111349559b74e2b7bcd447dca
---
src/EffectsEngine/EffectsEngine.cpp | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/src/EffectsEngine/EffectsEngine.cpp b/src/EffectsEngine/EffectsEngine.cpp
index 3b56104..da7e139 100644
--- a/src/EffectsEngine/EffectsEngine.cpp
+++ b/src/EffectsEngine/EffectsEngine.cpp
@@ -27,11 +27,7 @@
#include <QXmlStreamWriter>
#include <QtGlobal>
-#if QT_VERSION >= QT_VERSION_CHECK(5,0,0)
# include <QStandardPaths>
-#else
-# include <QDesktopServices>
-#endif
#ifdef Q_OS_WIN
# include <windows.h>
@@ -46,14 +42,8 @@
EffectsEngine::EffectsEngine()
{
-#if QT_VERSION >= QT_VERSION_CHECK(5,0,0)
m_cache = new QSettings( QStandardPaths::writableLocation(
QStandardPaths::CacheLocation ) + "/effects",
-#else
- m_cache = new QSettings( QDesktopServices::storageLocation(
- QDesktopServices::CacheLocation ) + "/effects",
-#endif
-
QSettings::IniFormat, this );
m_cache->setFallbacksEnabled( false );
//Create the names entry. A bit ugly but faster (I guess...) afterward.
More information about the Vlmc-devel
mailing list