All: Reformat according to new standard
This commit is contained in:
committed by
Kacper Donat
parent
eafd18dac0
commit
25c3ba7338
@@ -26,7 +26,6 @@
|
||||
#include <QMessageBox>
|
||||
|
||||
|
||||
|
||||
#include "ModuleIO.h"
|
||||
#include "Application.h"
|
||||
#include "FileDialog.h"
|
||||
@@ -41,9 +40,11 @@ bool ModuleIO::verifyFile(const QString& filename)
|
||||
{
|
||||
QFileInfo fi(filename);
|
||||
if (!fi.exists() || !fi.isFile()) {
|
||||
QMessageBox::critical(Gui::getMainWindow(),
|
||||
tr("File not found"),
|
||||
tr("The file '%1' cannot be opened.").arg(filename));
|
||||
QMessageBox::critical(
|
||||
Gui::getMainWindow(),
|
||||
tr("File not found"),
|
||||
tr("The file '%1' cannot be opened.").arg(filename)
|
||||
);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user