Use only single database

This commit is contained in:
2025-03-18 14:46:08 +01:00
parent f30dd2a520
commit 6fd17fbdf5
7 changed files with 38 additions and 22 deletions
+4 -1
View File
@@ -7,6 +7,8 @@
namespace Ui { class BatchProcessing; }
class Database;
class BatchProcessing : public QDialog
{
Q_OBJECT
@@ -15,10 +17,11 @@ class BatchProcessing : public QDialog
QFileSystemWatcher _fileWatcher;
Script::ScriptEngineThread *_engineThread = nullptr;
QColor _textColor;
Database *_database;
private slots:
void scanScriptDir();
public:
explicit BatchProcessing(QWidget *parent = nullptr);
explicit BatchProcessing(Database *database, QWidget *parent = nullptr);
~BatchProcessing();
protected:
void closeEvent(QCloseEvent *event);