~ubuntu-branches/ubuntu/utopic/ibus-qt/utopic

« back to all changes in this revision

Viewing changes to src/qibusconfig.cpp

  • Committer: Bazaar Package Importer
  • Author(s): LI Daobing
  • Date: 2010-04-10 16:25:47 UTC
  • mfrom: (5.2.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100410162547-9k8zunomsq7nre2c
Tags: 1.3.0-1
* New upstream release.
* debian/control: bump standards version to 3.8.4.
* debian/source/format: 3.0.
* Fix "FTBFS with binutils-gold" (Closes: #554862)
  - debian/patches/binutils-gold: added.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
    return true;
52
52
}
53
53
 
 
54
bool
 
55
Config::unset (const QString &section, const QString &name)
 
56
{
 
57
    QDBusPendingReply<> reply = m_config->Unset(section, name);
 
58
    reply.waitForFinished ();
 
59
 
 
60
    if (reply.isError ()) {
 
61
        qDebug () << "Config::unset:" << reply.error ();
 
62
        return false;
 
63
    }
 
64
 
 
65
    return true;
 
66
}
 
67
 
54
68
void
55
69
Config::destroy (void)
56
70
{