Using a global variable to register meta types instead of the main() function.

Prevents needing to have extra includes in the main.
This commit is contained in:
Eelke Klein 2017-09-03 14:37:12 +02:00
parent fe0681f19c
commit b9bc00a389
4 changed files with 36 additions and 10 deletions

View file

@ -33,6 +33,7 @@ public:
QueryParamListController(QTableView *tv, OpenDatabase *opendb, QWidget *parent);
Pgsql::Params params() const;
bool empty() const;
public slots:
void on_addParam();
void on_removeParam();