summaryrefslogtreecommitdiffstats
path: root/tdeprint/kmmanager.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-05-02 23:48:19 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-05-12 11:58:52 +0900
commit154fda159c78daf8a9f2e7d5daa5e02cb276674a (patch)
tree7a1cd57b80999a6cb9d05741d43cfc7aef397d69 /tdeprint/kmmanager.cpp
parente1e204ab672d8c5f5e184d0b2d628b487414f682 (diff)
downloadtdelibs-154fda159c78daf8a9f2e7d5daa5e02cb276674a.tar.gz
tdelibs-154fda159c78daf8a9f2e7d5daa5e02cb276674a.zip
KJobViewer: make sure the printer lists is correctly updated when printers are added or removed. This relates to bug 1362.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 69c2d469b80d8cf7b99a62ebd7c2f4bd8281712b)
Diffstat (limited to 'tdeprint/kmmanager.cpp')
-rw-r--r--tdeprint/kmmanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tdeprint/kmmanager.cpp b/tdeprint/kmmanager.cpp
index d43239fd7..19fdbc7cc 100644
--- a/tdeprint/kmmanager.cpp
+++ b/tdeprint/kmmanager.cpp
@@ -272,6 +272,7 @@ TQPtrList<KMPrinter>* KMManager::printerList(bool reload)
if (defprinter)
setSoftDefault(defprinter);
}
+ emit printerListUpdated();
}
return &m_fprinters;