Fix compiler warning.

This commit is contained in:
Dave Page 2018-04-27 13:27:37 +01:00
parent 201f6d359f
commit 92ba055d66

View File

@ -121,7 +121,8 @@ void TrayIcon::createTrayIcon()
if (!m_trayIcon) if (!m_trayIcon)
m_trayIcon = new QSystemTrayIcon(this); m_trayIcon = new QSystemTrayIcon(this);
m_trayIcon->setContextMenu(m_trayIconMenu);
m_trayIcon->setContextMenu(m_trayIconMenu);
// Setup the icon itself. For convenience, we'll also use it for the dialogue. // Setup the icon itself. For convenience, we'll also use it for the dialogue.
#ifdef Q_OS_MAC #ifdef Q_OS_MAC