Clean up debug code and unused functions from imagegestures example

Change-Id: I0dbbb5c6f3227e8cfe3e0f6eb27b2bf16b5d222b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
This commit is contained in:
Joni Poikelin 2015-10-01 08:37:47 +03:00
parent 2c5126b9de
commit 4b785eeaa9
3 changed files with 0 additions and 4 deletions

View File

@ -200,7 +200,6 @@ void ImageWidget::openDirectory(const QString &path)
QImage ImageWidget::loadImage(const QString &fileName)
{
qDebug() << position << files << fileName;
QImageReader reader(fileName);
reader.setAutoTransform(true);
qCDebug(lcExample) << "loading" << QDir::toNativeSeparators(fileName) << position << '/' << files.size();

View File

@ -77,7 +77,6 @@ private:
void swipeTriggered(QSwipeGesture*);
//! [class definition begin]
void updateImage();
QImage loadImage(const QString &fileName);
void loadImage();
void goNextImage();

View File

@ -57,8 +57,6 @@ public slots:
void openDirectory(const QString &path);
private:
bool loadImage(const QString &fileName);
ImageWidget *imageWidget;
};