~ci-train-bot/ubuntu-download-manager/ubuntu-download-manager-ubuntu-yakkety-landing-057

« back to all changes in this revision

Viewing changes to src/uploads/daemon/main.cpp

  • Committer: Bileto Bot
  • Author(s): Michael Sheldon
  • Date: 2016-09-09 11:47:50 UTC
  • mfrom: (370.1.2 translation-support)
  • Revision ID: ci-train-bot@canonical.com-20160909114750-899k9wtsrib6c7uq
Make user visible strings translatable (LP: #1618892)

Approved by: system-apps-ci-bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#include <QTimer>
20
20
#include <QCoreApplication>
21
21
#include <ubuntu/uploads/daemon.h>
 
22
#include <ubuntu/transfers/i18n.h>
22
23
 
23
24
using namespace Ubuntu::UploadManager::Daemon;
24
25
 
29
30
    // use a singleShot timer so that we start after exec so that exit works
30
31
    QTimer::singleShot(0, daemon, SLOT(start()));
31
32
 
 
33
    Ubuntu::Transfers::initTr(I18N_DOMAIN, NULL);
 
34
 
32
35
    return a.exec();
33
36
}