| 264 | } |
| 265 | |
| 266 | QString SessionItemWidgetPrivate::createProjectInfo(const QVariantList &projects) |
| 267 | { |
| 268 | static QString formt("<div style=\"font-size: 14px; font-weight: 500;\">%1</div>" |
| 269 | "<div style=\"font-size: 12px; font-weight: 400;\">%2</div>"); |
| 270 | QString msg; |
| 271 | for (const auto &p : projects) { |
| 272 | const auto &map = p.toMap(); |
| 273 | QFileInfo info(map.value("Workspace").toString()); |
| 274 | msg += formt.arg(info.fileName(), info.absoluteFilePath()); |
| 275 | } |
| 276 | |
| 277 | return msg; |
| 278 | } |
| 279 | |
| 280 | void SessionItemWidgetPrivate::removeSession() |
| 281 | { |
no test coverage detected