forked from qt-creator/qt-creator
		
	BaseFileWizard: Get rid of applyExtensionPageShortTitle(...)
That method was used to set a title in the progress view of the wizard that is different from the page title. That is used exactly once and there it adds more confusion than it helps. So get rid of the whole thing. Consistently set the "shortTitle" property instead for all wizards that want to have a separate short title. Change-Id: Ia4881e9c00891058629491f9e9de4ac421c59727 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
		@@ -30,6 +30,8 @@
 | 
			
		||||
#include "filewizardpage.h"
 | 
			
		||||
#include "ui_filewizardpage.h"
 | 
			
		||||
 | 
			
		||||
#include "wizard.h"
 | 
			
		||||
 | 
			
		||||
/*!
 | 
			
		||||
  \class Utils::FileWizardPage
 | 
			
		||||
 | 
			
		||||
@@ -66,6 +68,8 @@ FileWizardPage::FileWizardPage(QWidget *parent) :
 | 
			
		||||
 | 
			
		||||
    connect(d->m_ui.pathChooser, SIGNAL(returnPressed()), this, SLOT(slotActivated()));
 | 
			
		||||
    connect(d->m_ui.nameLineEdit, SIGNAL(validReturnPressed()), this, SLOT(slotActivated()));
 | 
			
		||||
 | 
			
		||||
    setProperty(Utils::SHORT_TITLE_PROPERTY, tr("Location"));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
FileWizardPage::~FileWizardPage()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user