From 273461a497d0b8e137ff6af6614efe0a969f5779 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 11 Feb 2019 05:32:42 -0500 Subject: [PATCH] [partition] Be verbose about handling osprober results --- src/modules/partition/gui/ChoicePage.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp index 88659f3ef..10ffbcee3 100644 --- a/src/modules/partition/gui/ChoicePage.cpp +++ b/src/modules/partition/gui/ChoicePage.cpp @@ -1246,6 +1246,7 @@ ChoicePage::setupActions() if ( osproberEntriesForCurrentDevice.count() == 0 ) { CALAMARES_RETRANSLATE( + cDebug() << "Setting texts for 0 osprober entries"; m_messageLabel->setText( tr( "This storage device does not seem to have an operating system on it. " "What would you like to do?
" "You will be able to review and confirm your choices " @@ -1278,6 +1279,7 @@ ChoicePage::setupActions() if ( !osName.isEmpty() ) { CALAMARES_RETRANSLATE( + cDebug() << "Setting texts for 1 non-empty osprober entry"; m_messageLabel->setText( tr( "This storage device has %1 on it. " "What would you like to do?
" "You will be able to review and confirm your choices " @@ -1301,6 +1303,7 @@ ChoicePage::setupActions() else { CALAMARES_RETRANSLATE( + cDebug() << "Setting texts for 1 empty osprober entry"; m_messageLabel->setText( tr( "This storage device already has an operating system on it. " "What would you like to do?
" "You will be able to review and confirm your choices " @@ -1325,6 +1328,8 @@ ChoicePage::setupActions() // osproberEntriesForCurrentDevice has at least 2 items. CALAMARES_RETRANSLATE( + cDebug() << "Setting texts for >= 2 osprober entries"; + m_messageLabel->setText( tr( "This storage device has multiple operating systems on it. " "What would you like to do?
" "You will be able to review and confirm your choices "