fixed comments

This commit is contained in:
landgrafpc 2020-01-07 16:24:49 +03:00
parent ee43f0f90c
commit 779684fee7
2 changed files with 3 additions and 7 deletions

View File

@ -2,11 +2,11 @@
#include <leptonica/allheaders.h>
#include <tesseract/host.h>
#include "ImageProcessing.h"
#include "StAssert.h"
#define MAX_INT16 32767
#if defined(Q_OS_LINUX)
# include <fstream>
# include <limits>

View File

@ -250,12 +250,8 @@ void Manager::capture () {
QPixmap pixmap = screen->grabWindow (0, 0, 0,
geometry.width (), geometry.height ());
#else
#if QT_VERSION >= QT_VERSION_CHECK(5,0,0)
QPixmap pixmap = screen->grabWindow (0, geometry.x (), geometry.y (),
geometry.width (), geometry.height ());
#else
assert c(0 && "Qt version is too small");
#endif
#endif
QString name = screen->name ();