[vlmc-devel] [PATCH 1/3] Fix indention of SettingValue *pName

Yikai Lu luyikei.qmltu at gmail.com
Tue Mar 8 06:17:32 CET 2016


I fix this by creating a proxy slot.
---
 src/Project/Project.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Project/Project.cpp b/src/Project/Project.cpp
index 6c36d83..fc9fda5 100644
--- a/src/Project/Project.cpp
+++ b/src/Project/Project.cpp
@@ -212,9 +212,9 @@ Project::initSettings()
                                                              QT_TRANSLATE_NOOP("PreferenceWidget", "Number of audio channels" ),
                                                              SettingValue::Clamped );
     audioChannel->setLimits( 2, 2 );
-	SettingValue* pName = m_settings->createVar( SettingValue::String, "vlmc/ProjectName", unNamedProject,
-									QT_TRANSLATE_NOOP( "PreferenceWidget", "Project name" ),
-									QT_TRANSLATE_NOOP( "PreferenceWidget", "The project name" ),
+    SettingValue    *pName = m_settings->createVar( SettingValue::String, "vlmc/ProjectName", unNamedProject,
+                                    QT_TRANSLATE_NOOP( "PreferenceWidget", "Project name" ),
+                                    QT_TRANSLATE_NOOP( "PreferenceWidget", "The project name" ),
                                     SettingValue::NotEmpty );
     connect( pName, SIGNAL( changed( QVariant ) ), this, SIGNAL( projectUpdated( QVariant ) ) );
 }
-- 
1.9.1



More information about the Vlmc-devel mailing list