From 1d96c5af4615d17fdc744538bcf31b62d8f04ea2 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Sun, 5 Dec 2021 01:32:51 +0100 Subject: [PATCH] [partition] Table type 'none' is a late addition. --- src/modules/partition/gui/DeviceInfoWidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/partition/gui/DeviceInfoWidget.cpp b/src/modules/partition/gui/DeviceInfoWidget.cpp index 05a8c4b63..39d9413e1 100644 --- a/src/modules/partition/gui/DeviceInfoWidget.cpp +++ b/src/modules/partition/gui/DeviceInfoWidget.cpp @@ -100,7 +100,9 @@ DeviceInfoWidget::retranslateUi() "that makes a file accessible as a block device. " "This kind of setup usually only contains a single filesystem." ); break; +#if defined( WITH_KPMCORE42API ) case PartitionTable::none: +#endif case PartitionTable::unknownTableType: typeString = " ? "; toolTipString = tr( "This installer cannot detect a partition table on the "