Trayicon tweaks
This fixes two minor inconveniences: - When closing the chat window and re-showing it from the systray icon, the geometry was not properly restored. The window was always shown in the middle of the screen. Now, one gets the window back with it's actual last position and size. - It is now possible to not only show the window from the systray icon, but also to close it. This is the way other chat programs do it (Kopete back in the day, Konversation, Quassel IRC etc.)
This commit is contained in:
committed by
Tobias Fella
parent
3c7fcee244
commit
c1604a9c4f
@@ -53,6 +53,7 @@ void WindowController::showAndRaiseWindow(const QString &startupId)
|
||||
{
|
||||
if (!m_window->isVisible()) {
|
||||
m_window->show();
|
||||
restoreGeometry();
|
||||
}
|
||||
|
||||
#ifdef HAVE_WINDOWSYSTEM
|
||||
|
||||
Reference in New Issue
Block a user