summaryrefslogtreecommitdiffstats
path: root/src/newstuff/manager.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-10-08 15:41:08 -0500
committerTimothy Pearson <[email protected]>2014-10-08 15:41:08 -0500
commit1c137dacd1195df2bba9c110e7b7b325b56dee56 (patch)
treeb4bbf858a16afad9312eef9dac59a3dcc4d5f627 /src/newstuff/manager.cpp
parente4b4d01f652d8ae191a7ce029f8bb37f67f77fdb (diff)
downloadtellico-1c137dacd1195df2bba9c110e7b7b325b56dee56.tar.gz
tellico-1c137dacd1195df2bba9c110e7b7b325b56dee56.zip
Fix TDEHotNewStuff interface with OCS providers
This relates to Bug 2127
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