summaryrefslogtreecommitdiff
path: root/wizard/summary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wizard/summary.cpp')
-rw-r--r--wizard/summary.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/wizard/summary.cpp b/wizard/summary.cpp
index b09f2c1..96440eb 100644
--- a/wizard/summary.cpp
+++ b/wizard/summary.cpp
@@ -30,6 +30,7 @@ void wpSummary::initializePage()
QString automount = line.section(":",3,3);
QString title = tr("%1 will be used as %2").arg(device).arg(mountpoint);
QString description;
+ if(!mountpoint.length()) continue;
if(filesystem.length()) description = QString("<li>") + tr("It will be formatted with %1").arg(filesystem) + QString("</li>");
if(automount == "auto") description += QString("<li>") + tr("It will be mounted automatically on boot") + QString("</li>");
listWidget->addItem(new ListItem(title, "<ul>" + description + "</ul>", "drive-harddisk"));