Ran astyle
This commit is contained in:
parent
8779eb90e4
commit
d9f982443d
|
@ -92,7 +92,7 @@
|
|||
#define SETTINGS_LAST_APP_PATH "Last application path"
|
||||
|
||||
|
||||
/**
|
||||
/**
|
||||
* @brief Obtains the path of specified type
|
||||
* Returns the path of specified type if not empty. Otherwise returns last check
|
||||
* path if valid or user's home directory.
|
||||
|
@ -101,7 +101,7 @@
|
|||
*/
|
||||
QString GetPath(const QString &type);
|
||||
|
||||
/**
|
||||
/**
|
||||
* @brief Stores last used path of specified type
|
||||
* Stores provided path as last used path for specified type.
|
||||
* @param type Type of the path to store
|
||||
|
|
|
@ -411,9 +411,9 @@ QStringList MainWindow::SelectFilesToCheck(QFileDialog::FileMode mode)
|
|||
FormatAndSetTitle(dir);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
SetPath(SETTINGS_LAST_CHECK_PATH, mCurrentDirectory);
|
||||
|
||||
|
||||
return selected;
|
||||
}
|
||||
|
||||
|
@ -1029,7 +1029,7 @@ void MainWindow::NewProjectFile()
|
|||
return;
|
||||
|
||||
SetPath(SETTINGS_LAST_PROJECT_PATH, filepath);
|
||||
|
||||
|
||||
EnableProjectActions(true);
|
||||
QFileInfo inf(filepath);
|
||||
const QString filename = inf.fileName();
|
||||
|
|
|
@ -694,7 +694,7 @@ QString ResultsTree::AskFileDir(const QString &file)
|
|||
msgbox.setText(text);
|
||||
msgbox.setIcon(QMessageBox::Warning);
|
||||
msgbox.exec();
|
||||
|
||||
|
||||
QString dir = QFileDialog::getExistingDirectory(this, tr("Select Directory"),
|
||||
GetPath(SETTINGS_LAST_SOURCE_PATH),
|
||||
QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks);
|
||||
|
|
Loading…
Reference in New Issue