diff -r f688a9913724 -r ba1ec9a16516 misc.cpp --- a/misc.cpp Mon Apr 18 06:17:00 2005 +0000 +++ b/misc.cpp Fri Jul 08 07:24:42 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 );