Git commit d38dc80d3cf94bd61b24b7d1117f40ec9621e584 by Jan Kundr?t. Committed on 05/06/2013 at 12:57. Pushed by jkt into branch 'master'.
GUI: simplify deleting the systray icon when removing it Suggested by Thomas L?bking in RR 110832. M +0 -4 src/Gui/Window.cpp http://commits.kde.org/trojita/d38dc80d3cf94bd61b24b7d1117f40ec9621e584 diff --git a/src/Gui/Window.cpp b/src/Gui/Window.cpp index d91fab0..9c870c7 100644 --- a/src/Gui/Window.cpp +++ b/src/Gui/Window.cpp @@ -775,10 +775,6 @@ void MainWindow::createSysTray() void MainWindow::removeSysTray() { - if (!m_trayIcon) - return; - - m_trayIcon->hide(); delete m_trayIcon; m_trayIcon = 0; }
