diff options
author | Ken Moore <ken@ixsystems.com> | 2019-10-23 08:26:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-23 08:26:39 -0400 |
commit | fa4200b9ca969c2a09072e17cd4ab841541270b9 (patch) | |
tree | 9071062402cff57560c308121425c8d418be0df7 /src-qt5/desktop-utils | |
parent | Update README.md (diff) | |
parent | Fix fit picture from CLI (diff) | |
download | lumina-fa4200b9ca969c2a09072e17cd4ab841541270b9.tar.gz lumina-fa4200b9ca969c2a09072e17cd4ab841541270b9.tar.bz2 lumina-fa4200b9ca969c2a09072e17cd4ab841541270b9.zip |
Merge pull request #707 from lbartoletti/fit_picture_at_open
[lumina-photo] Fix fit picture from CLI
Diffstat (limited to 'src-qt5/desktop-utils')
-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 (); } |