diff --git a/src/main.cpp b/src/main.cpp index 1532b9ab4..80aeca95a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -282,11 +282,7 @@ int main(int argc, char* argv[]) { QNetworkProxyFactory::setApplicationProxyFactory(NetworkProxyFactory::Instance()); // Create the tray icon and OSD -#ifdef Q_OS_MACOS std::shared_ptr tray_icon(new SystemTrayIcon); -#else - std::shared_ptr tray_icon(new SystemTrayIcon); -#endif #if defined(Q_OS_MACOS) OSDMac osd(tray_icon, &app);