mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-02 14:14:10 +00:00
Don't require KF5::IconThemes for Mobile
It just gives us a 48px = Large, so not worth to have that extra dependency for that in my opinion
This commit is contained in:
parent
5042078495
commit
ce8401e917
|
@ -106,7 +106,6 @@ find_package(KF5 ${KF5_REQUIRED_VERSION} REQUIRED COMPONENTS
|
|||
ConfigWidgets
|
||||
CoreAddons
|
||||
I18n
|
||||
IconThemes
|
||||
KIO
|
||||
TextWidgets
|
||||
ThreadWeaver
|
||||
|
@ -118,7 +117,7 @@ find_package(KF5 ${KF5_REQUIRED_VERSION} REQUIRED COMPONENTS
|
|||
)
|
||||
|
||||
if (BUILD_DESKTOP)
|
||||
find_package(KF5 ${KF5_REQUIRED_VERSION} REQUIRED COMPONENTS Parts Crash)
|
||||
find_package(KF5 ${KF5_REQUIRED_VERSION} REQUIRED COMPONENTS Parts Crash IconThemes)
|
||||
endif()
|
||||
|
||||
if(KF5Wallet_FOUND)
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#include "pagepainter.h"
|
||||
|
||||
// qt / kde includes
|
||||
#include <KIconLoader>
|
||||
#include <QApplication>
|
||||
#include <QDebug>
|
||||
#include <QIcon>
|
||||
|
@ -33,7 +32,7 @@
|
|||
#include "settings.h"
|
||||
#include "settings_core.h"
|
||||
|
||||
Q_GLOBAL_STATIC_WITH_ARGS(QPixmap, busyPixmap, (QIcon::fromTheme(QLatin1String("okular")).pixmap(KIconLoader::SizeLarge)))
|
||||
Q_GLOBAL_STATIC_WITH_ARGS(QPixmap, busyPixmap, (QIcon::fromTheme(QLatin1String("okular")).pixmap(48)))
|
||||
|
||||
#define TEXTANNOTATION_ICONSIZE 24
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ target_link_libraries(okularplugin
|
|||
Qt5::Xml
|
||||
Qt5::Svg
|
||||
KF5::Bookmarks
|
||||
KF5::IconThemes
|
||||
KF5::I18n
|
||||
KF5::Service
|
||||
okularcore
|
||||
|
|
Loading…
Reference in a new issue