diff -r c810a11d11d9 -r 270593ab83b2 misc.cpp --- a/misc.cpp Mon May 23 15:28:20 2005 +0000 +++ b/misc.cpp Mon May 30 05:39:10 2005 +0000 @@ -1,8 +1,6 @@ #include #include -#include - #include "misc.h" @@ -223,13 +221,13 @@ if (pix.width()>max_w) { r=max_w / pix.width(); - pix.resize(lrint(pix.width()*r), lrint(pix.height()*r)); + pix.resize(qRound(pix.width()*r), qRound(pix.height()*r)); // TODO not a resize, but a shrink/enlarge is needed here... } if (pix.height()>max_h) { r=max_h / pix.height(); - pix.resize(lrint(pix.width()*r), lrint(pix.height()*r)); + pix.resize(qRound(pix.width()*r), qRound(pix.height()*r)); // TODO not a resize, but a shrink/enlarge is needed here... } setPixmap( pix );