@@ -105,7 +105,7 @@ ProjectInfoPage::ProjectInfoPage( QWidget *parent )
105105 this ->setSubTitle ( " Specify basic information about the project which you "
106106 " want to create." );
107107
108- this ->project_name_label_ = new QLabel ( " Project name :" );
108+ this ->project_name_label_ = new QLabel ( " Project Name :" );
109109
110110
111111 QString default_name_count;
@@ -124,7 +124,7 @@ ProjectInfoPage::ProjectInfoPage( QWidget *parent )
124124 }
125125
126126 this ->project_path_label_ = new QLabel ( " Project Path:" );
127- this ->project_path_lineedit_ = new QLineEdit;
127+ this ->project_path_lineedit_ = new QLineEdit () ;
128128
129129 this ->project_path_change_button_ = new QPushButton ( " Choose Alternative Location" );
130130 connect ( this ->project_path_change_button_ , SIGNAL ( clicked () ), this , SLOT ( set_path () ) );
@@ -176,17 +176,16 @@ void ProjectInfoPage::set_path()
176176
177177void ProjectInfoPage::set_name (const QString& name)
178178{
179- if (!name.isEmpty ())
180- {
181- QDir project_directory_ = QDir (name);
179+ if (!name.isEmpty ())
180+ {
181+ QDir project_directory_ = QDir (name);
182182
183- if ( project_directory_.exists () )
184- {
185- this ->project_path_lineedit_ ->setText ( project_directory_.canonicalPath () );
186- this ->most_recent_path_ = &project_directory_;
187- }
183+ if ( project_directory_.exists () )
184+ {
185+ this ->project_path_lineedit_ ->setText ( project_directory_.canonicalPath () );
186+ this ->most_recent_path_ = &project_directory_;
188187 }
189-
188+ }
190189}
191190
192191bool ProjectInfoPage::validatePage ()
0 commit comments