fix syntax error
This commit is contained in:
@ -84,8 +84,7 @@ LammpsGui::LammpsGui(QWidget *parent, const QString &filename) :
|
|||||||
current_file.clear();
|
current_file.clear();
|
||||||
current_dir = QDir(".").absolutePath();
|
current_dir = QDir(".").absolutePath();
|
||||||
// use $HOME if we get dropped to "/" like on macOS or the installation folder like on Windows
|
// use $HOME if we get dropped to "/" like on macOS or the installation folder like on Windows
|
||||||
if ((current_dir == "/") || (current_dir.path().contains("AppData")))
|
if ((current_dir == "/") || (current_dir.contains("AppData"))) current_dir = QDir::homePath();
|
||||||
current_dir = QDir::homePath();
|
|
||||||
QDir::setCurrent(current_dir);
|
QDir::setCurrent(current_dir);
|
||||||
|
|
||||||
inspectList.clear();
|
inspectList.clear();
|
||||||
|
|||||||
Reference in New Issue
Block a user