]> git.sesse.net Git - kdenlive/blobdiff - src/wizard.cpp
reindent + nice (working) progress bar for document loading
[kdenlive] / src / wizard.cpp
index 3bce569ce693d71b20a0ae9f6e67f6b5f11a0713..0d396c1bc68bdd240bdd28fa428f939e6fc09cc2 100644 (file)
@@ -336,7 +336,7 @@ void Wizard::slotCheckPrograms()
     if (KStandardDirs::findExe("dvdauthor").isEmpty()) item->setIcon(0, m_badIcon);
     else item->setIcon(0, m_okIcon);
 
-    
+
     item = new QTreeWidgetItem(m_check.programList, QStringList() << QString() << i18n("genisoimage or mkisofs"));
     item->setData(1, Qt::UserRole, i18n("Required for creation of DVD ISO images"));
     item->setSizeHint(0, itemSize);
@@ -344,10 +344,8 @@ void Wizard::slotCheckPrograms()
         // no GenIso, check for mkisofs
         if (!KStandardDirs::findExe("mkisofs").isEmpty()) {
             item->setIcon(0, m_okIcon);
-        }
-        else item->setIcon(0, m_badIcon);
-    }
-    else item->setIcon(0, m_okIcon);
+        } else item->setIcon(0, m_badIcon);
+    } else item->setIcon(0, m_okIcon);
 
     // set up some default applications
     QString program;