~ubuntu-branches/ubuntu/quantal/psi/quantal

« back to all changes in this revision

Viewing changes to src/tools/optionstree/optionstreemodel.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2009-09-25 17:49:51 UTC
  • mfrom: (6.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090925174951-lvm7kdap82o8xhn3
Tags: 0.13-1
* Updated to upstream version 0.13
* Set Standards-Version to 3.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
 */
86
86
QModelIndex OptionsTreeModel::index(const QString &option, Section sec) const
87
87
{
88
 
        if (option == "") {
 
88
        if (option.isEmpty()) {
89
89
                return QModelIndex();
90
90
        }
91
91