kconfig: qconf: reformat the intro message

The introduction message displayed by 'Help -> Introduction' does not
look nice due to excessive new lines.

Reformat the message.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
This commit is contained in:
Masahiro Yamada 2020-08-29 17:14:07 +09:00
Родитель ba4f184e12
Коммит 8c30e7e60d
1 изменённых файлов: 18 добавлений и 11 удалений

Просмотреть файл

@ -1836,17 +1836,24 @@ void ConfigMainWindow::closeEvent(QCloseEvent* e)
void ConfigMainWindow::showIntro(void) void ConfigMainWindow::showIntro(void)
{ {
static const QString str = "Welcome to the qconf graphical configuration tool.\n\n" static const QString str =
"For each option, a blank box indicates the feature is disabled, a check\n" "Welcome to the qconf graphical configuration tool.\n"
"indicates it is enabled, and a dot indicates that it is to be compiled\n" "\n"
"as a module. Clicking on the box will cycle through the three states.\n\n" "For each option, a blank box indicates the feature is "
"If you do not see an option (e.g., a device driver) that you believe\n" "disabled, a check indicates it is enabled, and a dot "
"should be present, try turning on Show All Options under the Options menu.\n" "indicates that it is to be compiled as a module. Clicking on "
"Although there is no cross reference yet to help you figure out what other\n" "the box will cycle through the three states.\n"
"options must be enabled to support the option you are interested in, you can\n" "\n"
"still view the help of a grayed-out option.\n\n" "If you do not see an option (e.g., a device driver) that you "
"Toggling Show Debug Info under the Options menu will show the dependencies,\n" "believe should be present, try turning on Show All Options "
"which you can then match by examining other options.\n\n"; "under the Options menu. Although there is no cross reference "
"yet to help you figure out what other options must be enabled "
"to support the option you are interested in, you can still "
"view the help of a grayed-out option.\n"
"\n"
"Toggling Show Debug Info under the Options menu will show the "
"dependencies, which you can then match by examining other "
"options.\n";
QMessageBox::information(this, "qconf", str); QMessageBox::information(this, "qconf", str);
} }