mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
kaccounts_integration24, bump version (#11332)
This commit is contained in:
@@ -6,7 +6,7 @@ COPYRIGHT="2010-2024 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kaccounts-integration-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="56ce3434d20bcc89673822f7b949f50f32fc7538ee7242fb97628554c92c8f16"
|
||||
CHECKSUM_SHA256="76afc9724677c3415a8c86bbf880c08ffac78562d0f5f2c6afd0ce87242fe3c6"
|
||||
SOURCE_DIR="kaccounts-integration-$portVersion"
|
||||
PATCHES="kaccounts_integration-$portVersion.patchset"
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
From a8c61d38b7dabcf9e8a73e21fefba016d757e448 Mon Sep 17 00:00:00 2001
|
||||
From d96541fd7b50ac2084a1f38866bc21c11cd8a8df Mon Sep 17 00:00:00 2001
|
||||
From: Schrijvers Luc <begasus@gmail.com>
|
||||
Date: Mon, 9 Sep 2024 16:07:36 +0200
|
||||
Subject: Disable KDirNotify
|
||||
|
||||
|
||||
diff --git a/src/plugins/kio-webdav/kioservices.cpp b/src/plugins/kio-webdav/kioservices.cpp
|
||||
index 9881963..9c35303 100644
|
||||
index bfcea4a..d56e62a 100644
|
||||
--- a/src/plugins/kio-webdav/kioservices.cpp
|
||||
+++ b/src/plugins/kio-webdav/kioservices.cpp
|
||||
@@ -17,7 +17,9 @@
|
||||
@@ -18,7 +18,9 @@
|
||||
|
||||
#include <KConfig>
|
||||
#include <KConfigGroup>
|
||||
-#include <KDirNotify>
|
||||
+#ifndef __HAIKU__
|
||||
+ #include <KDirNotify>
|
||||
+#ifndef Q_OS_HAIKU
|
||||
+ #include <KDirNotify>
|
||||
+#endif
|
||||
#include <KIO/TransferJob>
|
||||
#include <KLocalizedString>
|
||||
@@ -23,17 +23,17 @@ index 9881963..9c35303 100644
|
||||
wallet->writeMap(walletUrl + QStringLiteral("webdav"), info);
|
||||
wallet->sync();
|
||||
|
||||
+#ifndef __HAIKU__
|
||||
+#ifndef Q_OS_HAIKU
|
||||
org::kde::KDirNotify::emitFilesAdded(QUrl(QStringLiteral("remote:/")));
|
||||
+#endif
|
||||
}
|
||||
|
||||
QCoro::Task<QString> KIOServices::getRealm(const QUrl &url)
|
||||
@@ -267,7 +271,9 @@ QCoro::Task<void> KIOServices::removeNetAttach(const QString &id)
|
||||
qDebug() << url.userName() << url.host() << url;
|
||||
@@ -274,7 +278,9 @@ QCoro::Task<void> KIOServices::removeNetAttach(const QString &_id)
|
||||
qCDebug(KACCOUNTS_DAV_LOG) << url.userName() << url.host() << url;
|
||||
|
||||
QFile::remove(path);
|
||||
+#ifndef __HAIKU__
|
||||
+#ifndef Q_OS_HAIKU
|
||||
org::kde::KDirNotify::emitFilesRemoved(QList<QUrl>() << QUrl(QStringLiteral("remote:/") + id));
|
||||
+#endif
|
||||
|
||||
Reference in New Issue
Block a user