aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2019-10-23 08:26:39 -0400
committerGitHub <noreply@github.com>2019-10-23 08:26:39 -0400
commitfa4200b9ca969c2a09072e17cd4ab841541270b9 (patch)
tree9071062402cff57560c308121425c8d418be0df7
parentUpdate README.md (diff)
parentFix fit picture from CLI (diff)
downloadlumina-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
-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