aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-photo
diff options
context:
space:
mode:
authorlbartoletti <l.bartoletti@free.fr>2019-10-22 23:19:53 +0200
committerlbartoletti <l.bartoletti@free.fr>2019-10-22 23:19:53 +0200
commit914a2fa605f04d393d38b1743d82e23d5e1f5f72 (patch)
tree9071062402cff57560c308121425c8d418be0df7 /src-qt5/desktop-utils/lumina-photo
parentUpdate README.md (diff)
downloadlumina-914a2fa605f04d393d38b1743d82e23d5e1f5f72.tar.gz
lumina-914a2fa605f04d393d38b1743d82e23d5e1f5f72.tar.bz2
lumina-914a2fa605f04d393d38b1743d82e23d5e1f5f72.zip
Fix fit picture from CLI
Diffstat (limited to 'src-qt5/desktop-utils/lumina-photo')
-rw-r--r--src-qt5/desktop-utils/lumina-photo/PhotoView.h2
-rw-r--r--src-qt5/desktop-utils/lumina-photo/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/desktop-utils/lumina-photo/PhotoView.h b/src-qt5/desktop-utils/lumina-photo/PhotoView.h
index a04a70d0..3e0bf876 100644
--- a/src-qt5/desktop-utils/lumina-photo/PhotoView.h
+++ b/src-qt5/desktop-utils/lumina-photo/PhotoView.h
@@ -18,7 +18,7 @@ class PhotoView : public QGraphicsView
const double invScaleFactor = 1 / 1.25;
bool eventFilter(QObject *, QEvent *event);
void mouseDoubleClickEvent(QMouseEvent *event);
- bool isFit = true;
+ bool isFit = false;
signals:
void nextImage();
diff --git a/src-qt5/desktop-utils/lumina-photo/main.cpp b/src-qt5/desktop-utils/lumina-photo/main.cpp
index faf919be..e7562820 100644
--- a/src-qt5/desktop-utils/lumina-photo/main.cpp
+++ b/src-qt5/desktop-utils/lumina-photo/main.cpp
@@ -36,7 +36,7 @@ int main (int argc, char *argv[])
}
// Now start the window
MainUI W;
- W.loadArguments (args);
W.show ();
+ W.loadArguments (args);
return a.exec ();
}
bgstack15