pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / kde / frameworks / kservice / handle-sycoca-deletion.patch
blob4eceefba998d6dfd9c73d3bdba804c3f78d9b757
1 diff --git a/src/sycoca/ksycoca.cpp b/src/sycoca/ksycoca.cpp
2 index 981342e6..5940f65f 100644
3 --- a/src/sycoca/ksycoca.cpp
4 +++ b/src/sycoca/ksycoca.cpp
5 @@ -218,6 +218,10 @@ KSycoca::KSycoca()
6 connect(d->m_fileWatcher.get(), &KDirWatch::dirty, this, [this]() {
7 d->slotDatabaseChanged();
8 });
9 + // NIXPKGS: we sometimes delete sycoca externally
10 + connect(d->m_fileWatcher.get(), &KDirWatch::deleted, this, [this]() {
11 + d->slotDatabaseChanged();
12 + });