diff options
author | lbartoletti <l.bartoletti@free.fr> | 2019-10-22 23:19:53 +0200 |
---|---|---|
committer | lbartoletti <l.bartoletti@free.fr> | 2019-10-22 23:19:53 +0200 |
commit | 914a2fa605f04d393d38b1743d82e23d5e1f5f72 (patch) | |
tree | 9071062402cff57560c308121425c8d418be0df7 /src-qt5 | |
parent | Update README.md (diff) | |
download | lumina-914a2fa605f04d393d38b1743d82e23d5e1f5f72.tar.gz lumina-914a2fa605f04d393d38b1743d82e23d5e1f5f72.tar.bz2 lumina-914a2fa605f04d393d38b1743d82e23d5e1f5f72.zip |
Fix fit picture from CLI
Diffstat (limited to 'src-qt5')
-rw-r--r-- | src-qt5/desktop-utils/lumina-photo/PhotoView.h | 2 | ||||
-rw-r--r-- | src-qt5/desktop-utils/lumina-photo/main.cpp | 2 |
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 (); } |