fix #371
This commit is contained in:
parent
e4e0ef39a7
commit
d6630f7ff6
@ -30,7 +30,7 @@
|
|||||||
<url type="donation">https://martinrotter.github.io/donate/</url>
|
<url type="donation">https://martinrotter.github.io/donate/</url>
|
||||||
<content_rating type="oars-1.1" />
|
<content_rating type="oars-1.1" />
|
||||||
<releases>
|
<releases>
|
||||||
<release version="3.9.0" date="2021-03-02"/>
|
<release version="3.9.0" date="2021-03-03"/>
|
||||||
</releases>
|
</releases>
|
||||||
<content_rating type="oars-1.0">
|
<content_rating type="oars-1.0">
|
||||||
<content_attribute id="violence-cartoon">none</content_attribute>
|
<content_attribute id="violence-cartoon">none</content_attribute>
|
||||||
|
@ -464,7 +464,7 @@ void FormMain::switchVisibility(bool force_hide) {
|
|||||||
|
|
||||||
void FormMain::display() {
|
void FormMain::display() {
|
||||||
// Make sure window is not minimized.
|
// Make sure window is not minimized.
|
||||||
setWindowState(windowState() & ~Qt::WindowMinimized& ~Qt::WindowActive);
|
showNormal();
|
||||||
|
|
||||||
// Display the window and make sure it is raised on top.
|
// Display the window and make sure it is raised on top.
|
||||||
show();
|
show();
|
||||||
|
@ -39,16 +39,9 @@ class RSSGUARD_DLLSPEC FormMain : public QMainWindow {
|
|||||||
void saveSize();
|
void saveSize();
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
|
|
||||||
// Displays window on top or switches its visibility.
|
|
||||||
void display();
|
void display();
|
||||||
|
|
||||||
// Switches visibility of main window.
|
|
||||||
void switchVisibility(bool force_hide = false);
|
void switchVisibility(bool force_hide = false);
|
||||||
|
|
||||||
// Turns on/off fullscreen mode
|
|
||||||
void switchFullscreenMode();
|
void switchFullscreenMode();
|
||||||
|
|
||||||
void showAddAccountDialog();
|
void showAddAccountDialog();
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user