diff options
| author | David Skoland <davidskoland@gmail.com> | 2017-02-15 15:32:20 +0100 |
|---|---|---|
| committer | David Skoland <davidskoland@gmail.com> | 2017-02-15 15:32:20 +0100 |
| commit | be017b727831826257ea8d4c34bd8d33138cd5c0 (patch) | |
| tree | d50c3b59f580142540ce54eb1286c6782ad304bc /aoimage.cpp | |
| parent | f7db8fa64aae47f2945e0d3c9344f6fac4534b57 (diff) | |
fixed all known bugs + improved preanims(probably)
Diffstat (limited to 'aoimage.cpp')
| -rw-r--r-- | aoimage.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/aoimage.cpp b/aoimage.cpp index a623332a..f523e4ea 100644 --- a/aoimage.cpp +++ b/aoimage.cpp @@ -50,5 +50,8 @@ void AOImage::set_scaled_image(QString p_image) QPixmap f_pixmap(final_image_path); - this->setPixmap(f_pixmap.scaled(this->width(), this->height())); + qDebug() << "aoimage width" << this->width(); + qDebug() << "aoimage height" << this->height(); + + this->setPixmap(f_pixmap.scaled(this->width(), this->height(), Qt::IgnoreAspectRatio)); } |
