make handling of plugin path and recent files more consistent

This commit is contained in:
Axel Kohlmeyer
2024-08-27 14:27:39 -04:00
parent 83aab0f425
commit 4060de6a9c
3 changed files with 27 additions and 22 deletions

View File

@ -68,7 +68,7 @@ class LammpsGui : public QMainWindow {
friend class Tutorial2Wizard;
public:
LammpsGui(QWidget *parent = nullptr, const char *filename = nullptr);
LammpsGui(QWidget *parent = nullptr, const QString &filename = QString());
~LammpsGui() override;
protected:
@ -172,7 +172,7 @@ private:
LammpsWrapper lammps;
LammpsRunner *runner;
QString docver;
std::string plugin_path;
QString plugin_path;
bool is_running;
int run_counter;
std::vector<char *> lammps_args;