Fix compiler warning.

pull/9/head
Dave Page 2018-04-27 13:27:37 +01:00
parent 201f6d359f
commit 92ba055d66
1 changed files with 2 additions and 1 deletions

View File

@ -121,7 +121,8 @@ void TrayIcon::createTrayIcon()
if (!m_trayIcon)
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.
#ifdef Q_OS_MAC