From 914a2fa605f04d393d38b1743d82e23d5e1f5f72 Mon Sep 17 00:00:00 2001 From: lbartoletti Date: Tue, 22 Oct 2019 23:19:53 +0200 Subject: Fix fit picture from CLI --- src-qt5/desktop-utils/lumina-photo/PhotoView.h | 2 +- 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 (); } -- cgit