286
284
new_indicator->init(data->m_fileInfo.fileName(), settings);
290
288
// 2) on a PC, switch the battery/power indicator to desktop mode,
291
289
// can't control brightness for now and phone-on-desktop broken (FIXME)
293
291
// The rest of the indicators respect their default profile (which is "phone", even on desktop PCs)
295
293
|| (new_indicator->identifier() == QStringLiteral("indicator-power") && m_platform.isPC())) {
296
294
new_indicator->setProfile(QStringLiteral("desktop"));