~kendfinger-deactivatedaccount/qapt/qapt

« back to all changes in this revision

Viewing changes to src/worker/worker.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas
  • Date: 2011-06-26 11:30:57 UTC
  • mfrom: (1.3.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110626113057-us66oxns387s1s1p
Tags: 1.1.85-0ubuntu1
New upstream beta release

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
    std::setlocale(LC_ALL, locale.toAscii());
91
91
}
92
92
 
 
93
void QAptWorker::setProxy(const QString &proxy) const
 
94
{
 
95
    setenv("http_proxy", proxy.toAscii(), 1);
 
96
}
 
97
 
93
98
bool QAptWorker::lockSystem()
94
99
{
95
100
    if (m_systemLocked) {