Commit f372629c authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Port from deprecated QDir::operator=() to QDir::setPath()

parent 78ca82e1
...@@ -116,7 +116,7 @@ void PerforceImportMetadataWidget::testP4setup() ...@@ -116,7 +116,7 @@ void PerforceImportMetadataWidget::testP4setup()
QDir execDir(m_ui->sourceLoc->url().toLocalFile()); QDir execDir(m_ui->sourceLoc->url().toLocalFile());
QTemporaryDir tmpDir; QTemporaryDir tmpDir;
if (!execDir.exists()) if (!execDir.exists())
execDir = tmpDir.path(); execDir.setPath(tmpDir.path());
if(!validateP4port(execDir.path())) if(!validateP4port(execDir.path()))
return; return;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment