From 30b5be70d040725235a176bc3959a00b29f0b2b5 Mon Sep 17 00:00:00 2001 From: Martchus Date: Sat, 14 Jan 2017 02:25:20 +0100 Subject: [PATCH] Use platform detection from c++utilities consistently --- tray/gui/settingsdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tray/gui/settingsdialog.cpp b/tray/gui/settingsdialog.cpp index a60d788..fe8d518 100644 --- a/tray/gui/settingsdialog.cpp +++ b/tray/gui/settingsdialog.cpp @@ -364,7 +364,7 @@ QWidget *AutostartOptionPage::setupWidget() { auto *widget = AutostartOptionPageBase::setupWidget(); ui()->infoIconLabel->setPixmap(QApplication::style()->standardIcon(QStyle::SP_MessageBoxInformation, nullptr, ui()->infoIconLabel).pixmap(ui()->infoIconLabel->size())); -#if defined(PLATFORM_LINUX) && !defined(Q_OS_ANDROID) +#if defined(PLATFORM_LINUX) && !defined(PLATFORM_ANDROID) ui()->platformNoteLabel->setText(QCoreApplication::translate("QtGui::AutostartOptionPage", "This is achieved by adding a *.desktop file under ~/.config/autostart so the setting only affects the current user.")); #elif defined(PLATFORM_WINDOWS) ui()->platformNoteLabel->setText(QCoreApplication::translate("QtGui::AutostartOptionPage", "This is achieved by adding a registry key under HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run so the setting only affects the current user. Note that the startup entry is invalidated when moving syncthingtray.exe."));