From 99b9e82aa755fbba70a95de0250a797f34534db6 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Wed, 30 Mar 2016 02:19:06 +0000 Subject: [PATCH] generic: misc cleanups Signed-off-by: Ivailo Monev --- CMakeLists.txt | 1 - kdeplasma-addons/wallpapers/virus/backgroundlistmodel.cpp | 2 +- kdeplasma-addons/wallpapers/weather/backgroundlistmodel.cpp | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 147177d7..e04ac1bb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,6 @@ include_directories ( ${CMAKE_SOURCE_DIR}/miniboost ${CMAKE_CURRENT_BINARY_DIR}/ macro_optional_add_subdirectory (about-distro) macro_optional_add_subdirectory (akregator) -macro_optional_add_subdirectory (amarok) macro_optional_add_subdirectory (syndication) macro_optional_add_subdirectory (ark) macro_optional_add_subdirectory (bluedevil) diff --git a/kdeplasma-addons/wallpapers/virus/backgroundlistmodel.cpp b/kdeplasma-addons/wallpapers/virus/backgroundlistmodel.cpp index b4526f89..307cbaeb 100644 --- a/kdeplasma-addons/wallpapers/virus/backgroundlistmodel.cpp +++ b/kdeplasma-addons/wallpapers/virus/backgroundlistmodel.cpp @@ -190,7 +190,7 @@ QSize BackgroundListModel::bestSize(Plasma::Package *package) const return QSize(); } - KFileMetaInfo info(image, QString(), KFileMetaInfo::TechnicalInfo); + KFileMetaInfo info(image, KFileMetaInfo::TechnicalInfo); QSize size(info.item("http://freedesktop.org/standards/xesam/1.0/core#width").value().toInt(), info.item("http://freedesktop.org/standards/xesam/1.0/core#height").value().toInt()); //backup solution if strigi does not work diff --git a/kdeplasma-addons/wallpapers/weather/backgroundlistmodel.cpp b/kdeplasma-addons/wallpapers/weather/backgroundlistmodel.cpp index 66dd82b0..46b50236 100644 --- a/kdeplasma-addons/wallpapers/weather/backgroundlistmodel.cpp +++ b/kdeplasma-addons/wallpapers/weather/backgroundlistmodel.cpp @@ -146,7 +146,7 @@ QSize BackgroundListModel::bestSize(Plasma::Package *package) const return QSize(); } - KFileMetaInfo info(image, QString(), KFileMetaInfo::TechnicalInfo); + KFileMetaInfo info(image, KFileMetaInfo::TechnicalInfo); QSize size(info.item(QLatin1String( "http://freedesktop.org/standards/xesam/1.0/core#width" )).value().toInt(), info.item(QLatin1String( "http://freedesktop.org/standards/xesam/1.0/core#height" )).value().toInt());