Skip to content

Commit

Permalink
typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
ponchio committed Jan 22, 2025
1 parent 62a0b29 commit a791f28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion relight/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include <QTimer>
#include <QIcon>
#include <QPixmap>
#include <QImageReader>
#include "mainwindow.h"
#include "processqueue.h"
#include <iostream>
Expand Down Expand Up @@ -72,7 +73,7 @@ int main(int argc, char *argv[]) {
QApplication app(argc, argv);
#if QT_VERSION >= 0x060000
//large images wont load because of this limit!
QImage::setAllocationLimit(32768*32768*4);
QImageReader::setAllocationLimit(uint62_t(1)<<32);
#endif
QCoreApplication::setOrganizationName("VCG");
QCoreApplication::setOrganizationDomain("vcg.isti.cnr.it");
Expand Down
3 changes: 2 additions & 1 deletion relightlab/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include <QVBoxLayout>
#include <QPushButton>
#include <QLabel>
#include <QImageReader>

#include "relightapp.h"
#include "mainwindow.h"
Expand All @@ -23,7 +24,7 @@ int main(int argc, char *argv[]) {

#if QT_VERSION >= 0x060000
//large images wont load because of this limit!
QImage::setAllocationLimit(32768*32768*4);
QImageReader::setAllocationLimit(uint62_t(1)<<32);
#endif


Expand Down

0 comments on commit a791f28

Please sign in to comment.