~ubuntu-branches/ubuntu/precise/kgpg/precise-updates

« back to all changes in this revision

Viewing changes to transactions/kgpgtextorfiletransaction.cpp

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2011-12-24 23:16:12 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20111224231612-1esf4004sfou258b
Tags: 4:4.7.95-0ubuntu1
New upstream release candidate

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2008,2009,2010 Rolf Eike Beer <kde@opensource.sf-tec.de>
 
2
 * Copyright (C) 2008,2009,2010,2011 Rolf Eike Beer <kde@opensource.sf-tec.de>
3
3
 */
4
4
 
5
5
/***************************************************************************
78
78
 
79
79
        QStringList args(QLatin1String("--status-fd=1"));
80
80
 
81
 
        args << command() << locfiles << m_tempfiles;
 
81
        args << command();
 
82
        if (locfiles.count() + m_tempfiles.count() > 1)
 
83
                args << QLatin1String("--multifile");
 
84
        args << locfiles << m_tempfiles;
82
85
        addArguments(args);
83
86
 
84
87
        return true;