]> git.sesse.net Git - kdenlive/commitdiff
Fixed http://kdenlive.org/mantis/view.php?id=1818
authorSimon A. Eugster <simon.eu@gmail.com>
Sun, 19 Sep 2010 14:54:22 +0000 (14:54 +0000)
committerSimon A. Eugster <simon.eu@gmail.com>
Sun, 19 Sep 2010 14:54:22 +0000 (14:54 +0000)
increased i instead of j in inner loop :)

svn path=/trunk/kdenlive/; revision=4908

src/profilesdialog.cpp

index 2f5a029d8dce5522b4cfa74be01cd9f5653ac4d3..70ecd1d7ed20b3b3fd216e52834c1e3936dc6c60 100644 (file)
@@ -417,7 +417,7 @@ QString ProfilesDialog::getPathFromProperties(int width, int height, double fps,
     QStringList customProfiles = KGlobal::dirs()->findDirs("appdata", "profiles");
     for(int i = 0; i < customProfiles.size(); ++i) {
         QStringList profiles = QDir(customProfiles.at(i)).entryList(profilesFilter, QDir::Files);
-        for(int j = 0; j < profiles.size(); ++i) {
+        for(int j = 0; j < profiles.size(); j++) {
             KConfig confFile(customProfiles.at(i) + profiles.at(j), KConfig::SimpleConfig);
             QMap< QString, QString > values = confFile.entryMap();
             if(values.value("width").toInt() == width && values.value("height").toInt() == height) {