X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Ffilethread.cpp;h=112e848afccac791b8237dd73c590f975e1b4ebc;hb=f400b282bbf71d7eab7d1f67828605f44b5445fd;hp=dd1a54044cdb9376ef845934f13e2f931590b080;hpb=b79e71ad6d2f71a2c1ccacb3d37ff02be60f2538;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); }