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()) if (filepath.isEmpty())
return; return;
mSettings->setValue(SETTINGS_LAST_USED_PATH, filepath); mSettings->setValue(SETTINGS_LAST_USED_PATH, filepath);
EnableProjectActions(true); EnableProjectActions(true);
QFileInfo inf(filepath); QFileInfo inf(filepath);
const QString filename = inf.fileName(); const QString filename = inf.fileName();

View File

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