From 4471c74fc6eedcf4b12b8a56926f9454e0c1c10f Mon Sep 17 00:00:00 2001
From: Andreas Loibl <andreas@andreas-loibl.de>
Date: Wed, 28 Sep 2011 01:59:29 +0200
Subject: ignore devices with empty mountpoints in summary

---
 wizard/summary.cpp | 1 +
 1 file changed, 1 insertion(+)

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"));
-- 
cgit v1.0