GUI: early return
This commit is contained in:
parent
31399e556b
commit
b1ae56736d
|
@ -1106,7 +1106,8 @@ void MainWindow::openResults()
|
|||
|
||||
void MainWindow::loadResults(const QString selectedFile)
|
||||
{
|
||||
if (!selectedFile.isEmpty()) {
|
||||
if (selectedFile.isEmpty())
|
||||
return;
|
||||
if (mProjectFile)
|
||||
closeProjectFile();
|
||||
mIsLogfileLoaded = true;
|
||||
|
@ -1116,7 +1117,6 @@ void MainWindow::loadResults(const QString selectedFile)
|
|||
mUI.mResults->readErrorsXml(selectedFile);
|
||||
setPath(SETTINGS_LAST_RESULT_PATH, selectedFile);
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::loadResults(const QString selectedFile, const QString sourceDirectory)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue