You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
817 B
34 lines
817 B
7 years ago
|
From 42605067fd4a400dc1dcf969388c0fe6721ff7fd Mon Sep 17 00:00:00 2001
|
||
|
From: Aleix Pol <aleixpol@kde.org>
|
||
|
Date: Sat, 13 Jan 2018 00:47:42 +0100
|
||
|
Subject: Fix build against PackageKit::Offline
|
||
|
|
||
|
Offline.h doesn't exist.
|
||
|
Offline class wasn't exported
|
||
|
|
||
|
diff --git a/src/Offline b/src/Offline
|
||
|
index 62d0e71..d19ee9e 100644
|
||
|
--- a/src/Offline
|
||
|
+++ b/src/Offline
|
||
|
@@ -1 +1 @@
|
||
|
-#include "Offline.h"
|
||
|
+#include "offline.h"
|
||
|
diff --git a/src/offline.h b/src/offline.h
|
||
|
index 6c16256..d6d3755 100644
|
||
|
--- a/src/offline.h
|
||
|
+++ b/src/offline.h
|
||
|
@@ -24,10 +24,12 @@
|
||
|
#include <QDBusPendingReply>
|
||
|
#include <QVariantMap>
|
||
|
|
||
|
+#include <packagekitqt_global.h>
|
||
|
+
|
||
|
namespace PackageKit {
|
||
|
|
||
|
class OfflinePrivate;
|
||
|
-class Offline : public QObject
|
||
|
+class PACKAGEKITQT_LIBRARY Offline : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
Q_DECLARE_PRIVATE(Offline)
|