astyle formatting

This commit is contained in:
Daniel Marjamki 2013-02-09 19:36:48 +01:00
parent 944b756a76
commit 318ace7879
2 changed files with 3 additions and 3 deletions

View File

@ -995,9 +995,9 @@ void MainWindow::NewProjectFile()
if (filepath.isEmpty())
return;
mSettings->setValue(SETTINGS_LAST_USED_PATH, filepath);
EnableProjectActions(true);
QFileInfo inf(filepath);
const QString filename = inf.fileName();

View File

@ -689,7 +689,7 @@ QString ResultsTree::AskFileDir(const QString &file)
msgbox.setText(text);
msgbox.setIcon(QMessageBox::Warning);
msgbox.exec();
QSettings settings;
QString dir = QFileDialog::getExistingDirectory(this, tr("Select Directory"),
settings.value(SETTINGS_LAST_USED_PATH, "").toString(),