summaryrefslogtreecommitdiffstats
path: root/src/newstuff/manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newstuff/manager.cpp')
-rw-r--r--src/newstuff/manager.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/newstuff/manager.cpp b/src/newstuff/manager.cpp
index 304a110..9fed36e 100644
--- a/src/newstuff/manager.cpp
+++ b/src/newstuff/manager.cpp
@@ -367,7 +367,12 @@ void Manager::slotDownloadJobResult(TDEIO::Job* job_) {
bool deleteTempFile = true;
if(type == EntryTemplate) {
- installTemplate(job->destURL(), entry->name());
+ if (installTemplate(job->destURL(), entry->name())) {
+ emit signalInstalled(entry);
+ }
+ else {
+ emit signalInstalled(0);
+ }
} else {
#if KDE_IS_VERSION(3,3,90)
// needed so the GPG signature can be checked