diff options
Diffstat (limited to 'utils/rbutilqt/base/bootloaderinstallhelper.cpp')
-rw-r--r-- | utils/rbutilqt/base/bootloaderinstallhelper.cpp | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/utils/rbutilqt/base/bootloaderinstallhelper.cpp b/utils/rbutilqt/base/bootloaderinstallhelper.cpp index 4a1b24883b..34fcefc5bc 100644 --- a/utils/rbutilqt/base/bootloaderinstallhelper.cpp +++ b/utils/rbutilqt/base/bootloaderinstallhelper.cpp | |||
@@ -97,6 +97,34 @@ BootloaderInstallBase::Capabilities | |||
97 | return caps; | 97 | return caps; |
98 | } | 98 | } |
99 | 99 | ||
100 | //! @brief Return pre install hints string. | ||
101 | //! @param model model string | ||
102 | //! @return hints. | ||
103 | QString BootloaderInstallHelper::preinstallHints(QString model) | ||
104 | { | ||
105 | bool hint = false; | ||
106 | QString msg = QObject::tr("Before Bootloader installation begins, " | ||
107 | "Please check the following:"); | ||
108 | |||
109 | msg += "<ol>"; | ||
110 | if(model.contains("erosqnative")) { | ||
111 | hint = true; | ||
112 | msg += QObject::tr("<li>Ensure your SD card is formatted as FAT. " | ||
113 | "exFAT is <i>not</i> supported. You can reformat using the " | ||
114 | "Original Firmware on your player if need be. It is located " | ||
115 | "under (System Settings --> Reset --> Format TF Card).</li>" | ||
116 | "<li>Please use a quality SD card from a reputable source. " | ||
117 | "The SD cards that come bundled with players are often of " | ||
118 | "substandard quality and may cause issues.</li>"); | ||
119 | } | ||
120 | msg += "</ol>"; | ||
121 | |||
122 | if(hint) | ||
123 | return msg; | ||
124 | else | ||
125 | return QString(); | ||
126 | } | ||
127 | |||
100 | 128 | ||
101 | //! @brief Return post install hints string. | 129 | //! @brief Return post install hints string. |
102 | //! @param model model string | 130 | //! @param model model string |
@@ -114,7 +142,8 @@ QString BootloaderInstallHelper::postinstallHints(QString model) | |||
114 | } | 142 | } |
115 | if(model == "iriverh100" || model == "iriverh120" || model == "iriverh300" | 143 | if(model == "iriverh100" || model == "iriverh120" || model == "iriverh300" |
116 | || model == "ondavx747" || model == "agptekrocker" | 144 | || model == "ondavx747" || model == "agptekrocker" |
117 | || model == "xduoox3" || model == "xduoox3ii" || model == "xduoox20") { | 145 | || model == "xduoox3" || model == "xduoox3ii" || model == "xduoox20" |
146 | || model.contains("erosqnative")) { | ||
118 | hint = true; | 147 | hint = true; |
119 | msg += QObject::tr("<li>Reboot your player into the original firmware.</li>" | 148 | msg += QObject::tr("<li>Reboot your player into the original firmware.</li>" |
120 | "<li>Perform a firmware upgrade using the update functionality " | 149 | "<li>Perform a firmware upgrade using the update functionality " |