X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fgui%2Ffilethread.cpp;h=112e848afccac791b8237dd73c590f975e1b4ebc;hb=481bb094f715443e52695fc46307785e61556c0d;hp=dd1a54044cdb9376ef845934f13e2f931590b080;hpb=f45b4acc547ca85d9af9efa37d8caa68c20a42e6;p=virtualjaguar diff --git a/src/gui/filethread.cpp b/src/gui/filethread.cpp index dd1a540..112e848 100644 --- a/src/gui/filethread.cpp +++ b/src/gui/filethread.cpp @@ -99,6 +99,7 @@ printf("FileThread: Aborting!!!\n"); uint32 crc = crc32_calcCheckSum(buffer, size); uint32 index = FindCRCIndexInFileList(crc); // These two are NOT interchangeable! +//Hm, confusing. It looks like in file.cpp it uses operater new() to create the buffer... // delete[] buffer; free(buffer); @@ -133,9 +134,11 @@ QImage * imageCopy = new QImage(); QImage label; bool success = label.loadFromData(buffer, size); img = new QImage(); - *img = label.scaled(373, 172, Qt::IgnoreAspectRatio, Qt::SmoothTransformation); +// *img = label.scaled(373, 172, Qt::IgnoreAspectRatio, Qt::SmoothTransformation); + *img = label.scaled(365, 168, Qt::IgnoreAspectRatio, Qt::SmoothTransformation); //printf("FT: Label %s: %ux%u.\n", (success ? "succeeded" : "did not succeed"), img->width(), img->height()); // These two are NOT interchangeable! +//Hm, confusing. It looks like in file.cpp it uses operater new() to create the buffer... // delete[] buffer; free(buffer); }