Skip to content

Commit

Permalink
Merge pull request #89 from YACReader/develop
Browse files Browse the repository at this point in the history
9.6.2 release
  • Loading branch information
luisangelsm authored Sep 28, 2019
2 parents 3826c4a + f65395c commit 6e7bcef
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
9 changes: 5 additions & 4 deletions YACReader/main_window_viewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1070,12 +1070,13 @@ void MainWindowViewer::toFullScreen()
previousSize = size();

showNormal();
setWindowFlags(previousWindowFlags | Qt::FramelessWindowHint);
setWindowFlags(previousWindowFlags | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint);

const QRect r = windowHandle()->screen()->geometry();
QRect r = windowHandle()->screen()->geometry();

move(r.x(), r.y());
resize(r.width(), r.height() + 1);
r.setHeight(r.height() + 1);

setGeometry(r);
show();

viewer->show();
Expand Down
9 changes: 5 additions & 4 deletions YACReaderLibrary/library_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2001,12 +2001,13 @@ void LibraryWindow::toFullScreen()
previousSize = size();

showNormal();
setWindowFlags(previousWindowFlags | Qt::FramelessWindowHint);
setWindowFlags(previousWindowFlags | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint);

const QRect r = windowHandle()->screen()->geometry();
QRect r = windowHandle()->screen()->geometry();

move(r.x(), r.y());
resize(r.width(), r.height() + 1);
r.setHeight(r.height() + 1);

setGeometry(r);
show();

comicsViewsManager->comicsView->toFullScreen();
Expand Down
2 changes: 1 addition & 1 deletion common/yacreader_global.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include <QStandardPaths>

#define VERSION "9.6.1"
#define VERSION "9.6.2"

#define REMOTE_BROWSE_PERFORMANCE_WORKAROUND "REMOTE_BROWSE_PERFORMANCE_WORKAROUND"

Expand Down

0 comments on commit 6e7bcef

Please sign in to comment.