astyle formatting
This commit is contained in:
parent
944b756a76
commit
318ace7879
|
@ -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();
|
||||||
|
|
|
@ -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(),
|
||||||
|
|
Loading…
Reference in New Issue