Skip to content

Commit

Permalink
fix: template declaration error
Browse files Browse the repository at this point in the history
  • Loading branch information
kamui-fin committed Nov 14, 2021
1 parent 1b0dbd6 commit d4b25ff
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include <QDir>
#include <QObject>
#include <QPixmap>
#include <cstdio>
Expand Down Expand Up @@ -30,6 +29,10 @@
#include "state.h"
#include "utils.h"

#ifdef GUI
#include "gui_x11.h"
#endif

State state;
OCR *ocr;
QString imagePath = getTempImage();
Expand Down Expand Up @@ -144,7 +147,6 @@ int main(int argc, char **argv) {
return ret;
} else {
#ifdef GUI
#include "gui_x11.h"
startGui(&app, interactive, prevOcr);
return app.exec();
#else
Expand Down

0 comments on commit d4b25ff

Please sign in to comment.