~mterry/+junk/u8

« back to all changes in this revision

Viewing changes to plugins/Utils/deviceconfigparser.cpp

  • Committer: Michael Zanetti
  • Date: 2016-11-30 13:28:07 UTC
  • mfrom: (2704 unity8)
  • mto: This revision was merged to the branch mainline in revision 2739.
  • Revision ID: michael.zanetti@canonical.com-20161130132807-c314dqdxenzwy69c
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    // Local files have highest priority
27
27
    QString path;
28
28
    Q_FOREACH (const QString &standardPath, QStandardPaths::standardLocations(QStandardPaths::GenericConfigLocation)) {
29
 
        if (QFileInfo(standardPath + "/devices.conf").exists()) {
 
29
        if (QFileInfo::exists(standardPath + "/devices.conf")) {
30
30
            path = standardPath + "/devices.conf";
31
31
            break;
32
32
        }