This commit is contained in:
Martin Rotter 2021-03-03 09:47:38 +01:00
parent e4e0ef39a7
commit d6630f7ff6
3 changed files with 2 additions and 9 deletions

View File

@ -30,7 +30,7 @@
<url type="donation">https://martinrotter.github.io/donate/</url>
<content_rating type="oars-1.1" />
<releases>
<release version="3.9.0" date="2021-03-02"/>
<release version="3.9.0" date="2021-03-03"/>
</releases>
<content_rating type="oars-1.0">
<content_attribute id="violence-cartoon">none</content_attribute>

View File

@ -464,7 +464,7 @@ void FormMain::switchVisibility(bool force_hide) {
void FormMain::display() {
// Make sure window is not minimized.
setWindowState(windowState() & ~Qt::WindowMinimized& ~Qt::WindowActive);
showNormal();
// Display the window and make sure it is raised on top.
show();

View File

@ -39,16 +39,9 @@ class RSSGUARD_DLLSPEC FormMain : public QMainWindow {
void saveSize();
public slots:
// Displays window on top or switches its visibility.
void display();
// Switches visibility of main window.
void switchVisibility(bool force_hide = false);
// Turns on/off fullscreen mode
void switchFullscreenMode();
void showAddAccountDialog();
private slots: