Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
3bf3c7e9
Commit
3bf3c7e9
authored
Apr 10, 2015
by
poixen
Browse files
Merge pull request #922 from poixen/sys_icon_fix
Fixed double click sys icon
parents
ebcee34e
1c89b90c
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/window_main.cpp
View file @
3bf3c7e9
...
...
@@ -449,7 +449,7 @@ void MainWindow::createTrayIcon() {
void
MainWindow
::
iconActivated
(
QSystemTrayIcon
::
ActivationReason
reason
)
{
if
(
reason
==
QSystemTrayIcon
::
DoubleClick
)
{
if
(
windowState
()
!=
Qt
::
WindowMinimized
)
if
(
windowState
()
!=
Qt
::
WindowMinimized
&&
windowState
()
!=
Qt
::
WindowMinimized
+
Qt
::
WindowMaximized
)
showMinimized
();
else
{
showNormal
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment