]> git.sesse.net Git - kdenlive/commitdiff
fix name of "add effect" menu in timeline context menu
authorTill Theato <root@ttill.de>
Fri, 4 Mar 2011 20:47:57 +0000 (20:47 +0000)
committerTill Theato <root@ttill.de>
Fri, 4 Mar 2011 20:47:57 +0000 (20:47 +0000)
svn path=/trunk/kdenlive/; revision=5472

src/mainwindow.cpp

index 95a9770e877a1d6b388eb5a62280fa491409d921..f83c298fdbb8134249cedbcad5d5cd6e25b2cacb 100644 (file)
@@ -409,7 +409,7 @@ MainWindow::MainWindow(const QString &MltPath, const KUrl & Url, const QString &
     m_stopmotion_actions->addAction("stopmotion_overlay", action);
 
     // Build effects menu
-    m_effectsMenu = new QMenu();
+    m_effectsMenu = new QMenu(i18n("Add Effect"));
     m_effectActions = new KActionCategory(i18n("Effects"), actionCollection());
     m_effectList->reloadEffectList(m_effectsMenu, m_effectActions);
     m_effectsActionCollection->readSettings();
@@ -3899,9 +3899,9 @@ void MainWindow::slotChangePalette(QAction *action, const QString &themename)
     KdenliveSettings::setColortheme(theme);
     // Make palette for all widgets.
     QPalette plt;
-    if (theme.isEmpty())
+    if (theme.isEmpty()) {
         plt = QApplication::desktop()->palette();
-    else {
+    else {
         KSharedConfigPtr config = KSharedConfig::openConfig(theme);
         plt = KGlobalSettings::createApplicationPalette(config);
     }