fixed comments
This commit is contained in:
parent
ee43f0f90c
commit
779684fee7
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
#include <leptonica/allheaders.h>
|
#include <leptonica/allheaders.h>
|
||||||
|
|
||||||
|
#include <tesseract/host.h>
|
||||||
|
|
||||||
#include "ImageProcessing.h"
|
#include "ImageProcessing.h"
|
||||||
#include "StAssert.h"
|
#include "StAssert.h"
|
||||||
|
|
||||||
#define MAX_INT16 32767
|
|
||||||
|
|
||||||
#if defined(Q_OS_LINUX)
|
#if defined(Q_OS_LINUX)
|
||||||
# include <fstream>
|
# include <fstream>
|
||||||
# include <limits>
|
# include <limits>
|
||||||
|
@ -250,12 +250,8 @@ void Manager::capture () {
|
|||||||
QPixmap pixmap = screen->grabWindow (0, 0, 0,
|
QPixmap pixmap = screen->grabWindow (0, 0, 0,
|
||||||
geometry.width (), geometry.height ());
|
geometry.width (), geometry.height ());
|
||||||
#else
|
#else
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK(5,0,0)
|
QPixmap pixmap = screen->grabWindow (0, geometry.x (), geometry.y (),
|
||||||
QPixmap pixmap = screen->grabWindow (0, geometry.x (), geometry.y (),
|
|
||||||
geometry.width (), geometry.height ());
|
geometry.width (), geometry.height ());
|
||||||
#else
|
|
||||||
assert c(0 && "Qt version is too small");
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
QString name = screen->name ();
|
QString name = screen->name ();
|
||||||
|
Loading…
Reference in New Issue
Block a user