Commit e04d9b05 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Remove unused KIconThemes dependency

parent bc781760
...@@ -28,7 +28,6 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS ...@@ -28,7 +28,6 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
Declarative Declarative
DocTools DocTools
I18n I18n
IconThemes
KIO KIO
XmlGui XmlGui
WidgetsAddons WidgetsAddons
......
...@@ -38,7 +38,6 @@ target_link_libraries(kreversi ...@@ -38,7 +38,6 @@ target_link_libraries(kreversi
KF5::Crash KF5::Crash
KF5::DBusAddons KF5::DBusAddons
KF5::Declarative KF5::Declarative
KF5::IconThemes
KF5::KIOCore KF5::KIOCore
KF5::KIOFileWidgets KF5::KIOFileWidgets
KF5::WidgetsAddons KF5::WidgetsAddons
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include <KIO/OpenUrlJob> #include <KIO/OpenUrlJob>
#include <KIO/JobUiDelegate> #include <KIO/JobUiDelegate>
#include <KGuiItem> #include <KGuiItem>
#include <KIconLoader>
#include <kio_version.h> #include <kio_version.h>
#include <KIO/StatJob> #include <KIO/StatJob>
#include <KIO/CopyJob> #include <KIO/CopyJob>
...@@ -239,7 +238,6 @@ HighscoresDialog::HighscoresDialog(int rank, QWidget *parent) ...@@ -239,7 +238,6 @@ HighscoresDialog::HighscoresDialog(int rank, QWidget *parent)
KPageWidgetItem *pageItem = new KPageWidgetItem( hsw, title); KPageWidgetItem *pageItem = new KPageWidgetItem( hsw, title);
const int iconSize = style()->pixelMetric(QStyle::PM_ToolBarIconSize); const int iconSize = style()->pixelMetric(QStyle::PM_ToolBarIconSize);
pageItem->setIcon(QIcon::fromTheme(icon).pixmap(iconSize)); pageItem->setIcon(QIcon::fromTheme(icon).pixmap(iconSize));
// pageItem->setIcon( QIcon( BarIcon(icon, KIconLoader::SizeLarge) ) );
addPage( pageItem ); addPage( pageItem );
_pages.append(pageItem); _pages.append(pageItem);
connect(hsw, &HighscoresWidget::tabChanged, this, &HighscoresDialog::tabChanged); connect(hsw, &HighscoresWidget::tabChanged, this, &HighscoresDialog::tabChanged);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment