astyle formatting
This commit is contained in:
parent
4f76f8f558
commit
6e536b9e35
|
@ -416,12 +416,12 @@ QStringList MainWindow::SelectFilesToCheck(QFileDialog::FileMode mode)
|
|||
}
|
||||
FormatAndSetTitle();
|
||||
} else if (mode == QFileDialog::DirectoryOnly) {
|
||||
QFileDialog dialog;
|
||||
dialog.setFileMode(mode);
|
||||
dialog.setWindowTitle("Select directory");
|
||||
QStringList dirs;
|
||||
if (dialog.exec())
|
||||
dirs = dialog.selectedFiles();
|
||||
QFileDialog dialog;
|
||||
dialog.setFileMode(mode);
|
||||
dialog.setWindowTitle("Select directory");
|
||||
QStringList dirs;
|
||||
if (dialog.exec())
|
||||
dirs = dialog.selectedFiles();
|
||||
if (!dirs.isEmpty()) {
|
||||
QString dir = dirs[0];
|
||||
qDebug() << "Setting current directory to: " << dirs[0];
|
||||
|
|
Loading…
Reference in New Issue