void-packages/srcpkgs/ktorrent/patches/build.patch

39 lines
1011 B
Diff
Raw Normal View History

2017-08-01 22:53:47 +02:00
From ac8eb6b360fbaa2588ec523bb81c380289586db6 Mon Sep 17 00:00:00 2001
From: David Faure <faure@kde.org>
Date: Sat, 14 May 2016 11:19:34 +0200
Subject: [PATCH] Fix compilation, KSharedConfig was not found.
---
ktorrent/dialogs/pastedialog.h | 1 +
plugins/mediaplayer/mediaview.h | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/ktorrent/dialogs/pastedialog.h b/ktorrent/dialogs/pastedialog.h
index 2446848..430ea82 100644
--- ktorrent/dialogs/pastedialog.h
+++ ktorrent/dialogs/pastedialog.h
@@ -22,6 +22,7 @@
#define PASTEDIALOG_H
#include <KDialog>
+#include <KSharedConfig>
#include "ui_pastedlgbase.h"
diff --git a/plugins/mediaplayer/mediaview.h b/plugins/mediaplayer/mediaview.h
index 2b9a7e6..d1959c1 100644
--- plugins/mediaplayer/mediaview.h
+++ plugins/mediaplayer/mediaview.h
@@ -25,7 +25,7 @@
#include <QListView>
#include <QCheckBox>
#include <QSortFilterProxyModel>
-#include <KSharedConfigPtr>
+#include <KSharedConfig>
#include "mediafile.h"
--
2.7.3