From 5b25b4bda637ed1f1dc01f14f72a97243aef64ce Mon Sep 17 00:00:00 2001 From: David Rosca Date: Thu, 24 Apr 2014 12:03:18 +0200 Subject: [PATCH] [DataPaths] USE_LIBPATH is always defined on Unix No need to add "/usr/lib/qupzilla" to the Plugins path if USE_LIBPATH is not set, as "/usr/lib/qupzilla" won't exist on non-Unix platform. [ci skip] --- src/lib/app/datapaths.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/app/datapaths.cpp b/src/lib/app/datapaths.cpp index c26152344..fd77b5082 100644 --- a/src/lib/app/datapaths.cpp +++ b/src/lib/app/datapaths.cpp @@ -155,9 +155,6 @@ void DataPaths::init() #ifdef USE_LIBPATH m_paths[Plugins].append(QLatin1String(USE_LIBPATH "/qupzilla")); -#else - // FIXME: This should use QUPZILLA_PREFIX - m_paths[Plugins].append(QLatin1String("/usr/lib/qupzilla")); #endif }