[partition] Warnings-- (uninitialized value)

This commit is contained in:
Adriaan de Groot 2021-03-29 11:06:16 +02:00
parent df1d7dea61
commit 0ec77f5d85

View File

@ -1111,7 +1111,7 @@ ChoicePage::updateActionChoicePreview( InstallChoice choice )
} }
// Also handle selection behavior on beforeFrame. // Also handle selection behavior on beforeFrame.
QAbstractItemView::SelectionMode previewSelectionMode; QAbstractItemView::SelectionMode previewSelectionMode = QAbstractItemView::NoSelection;
switch ( m_config->installChoice() ) switch ( m_config->installChoice() )
{ {
case InstallChoice::Replace: case InstallChoice::Replace: