VirtualBox

Changeset 39872 in vbox


Ignore:
Timestamp:
Jan 25, 2012 11:41:45 AM (13 years ago)
Author:
vboxsync
Message:

Don't make a 200 column oneliners out of something which really is a 4 line function. That is not cool or readable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.h

    r39800 r39872  
    559559    }
    560560
    561     static bool hasAllowedExtension(const QString &strExt, const QStringList &extList) { for(int i = 0; i < extList.size(); ++i) if (strExt.endsWith(extList.at(i), Qt::CaseInsensitive)) return true; return false;}
     561    static bool hasAllowedExtension(const QString &strExt, const QStringList &extList)
     562    {
     563        for (int i = 0; i < extList.size(); ++i)
     564            if (strExt.endsWith(extList.at(i), Qt::CaseInsensitive))
     565                return true;
     566        return false;
     567    }
     568
    562569    QIcon icon(QFileIconProvider::IconType type) { return m_globalIconProvider.icon(type); }
    563570    QIcon icon(const QFileInfo &info) { return m_globalIconProvider.icon(info); }
     
    862869    QString mVerString;
    863870    QString mBrandingConfig;
    864    
     871
    865872    int m3DAvailable;
    866873
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette