forked from qt-creator/qt-creator
		
	Utils: Replace FileChooser::path() by filePath().toString()
Keep the old method for now to ease downstream porting. The change is kept mechanical, there's a lot of cleanup possible now on the user code side. Change-Id: I936baedd45b7ba057f1c789a1bec896886f48eff Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
		@@ -196,7 +196,7 @@ void ChooseDirectoryPage::checkPackageSourceDir()
 | 
			
		||||
    const BuildTargetInfo bti = m_wizard->buildSystem()->buildTarget(buildKey);
 | 
			
		||||
    const QString projectDir = bti.projectFilePath.toFileInfo().absolutePath();
 | 
			
		||||
 | 
			
		||||
    const QString newDir = m_androidPackageSourceDir->path();
 | 
			
		||||
    const QString newDir = m_androidPackageSourceDir->filePath().toString();
 | 
			
		||||
    bool isComplete = QFileInfo(projectDir) != QFileInfo(newDir);
 | 
			
		||||
 | 
			
		||||
    m_sourceDirectoryWarning->setVisible(!isComplete);
 | 
			
		||||
@@ -238,7 +238,7 @@ void ChooseDirectoryPage::initializePage()
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    m_wizard->setDirectory(m_androidPackageSourceDir->path());
 | 
			
		||||
    m_wizard->setDirectory(m_androidPackageSourceDir->filePath().toString());
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user