mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
compilation warning: scale is unsigned
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28511 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
22e13587b3
commit
f1c6bfdc9d
@ -165,7 +165,7 @@ bool GuiImage::scale(Params const & params)
|
||||
{
|
||||
QImage const & image = is_transformed_ ? transformed_ : original_;
|
||||
|
||||
if (params.scale < 0 || params.scale == 100)
|
||||
if (params.scale == 100)
|
||||
return false;
|
||||
|
||||
qreal const scale = qreal(params.scale) / 100.0;
|
||||
|
Loading…
Reference in New Issue
Block a user