forked from qt-creator/qt-creator
TargetSetupPage: Move description label to the first place
This changes the ordering to the following: "The project %1 is not yet configured Qt Creator uses the kit %2 to parse the project." "Qt Creator can use the following kits for project %1:" Which makes more sense then the reverse order Task-number: QTCREATORBUG-8191 Change-Id: I2588e31bd7fa9c24ba054859c0cc8e2ec489d51a Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -80,6 +80,9 @@ public:
|
||||
void setupUi(QWidget *q)
|
||||
{
|
||||
QWidget *setupTargetPage = new QWidget(q);
|
||||
descriptionLabel = new QLabel(setupTargetPage);
|
||||
descriptionLabel->setWordWrap(true);
|
||||
descriptionLabel->setVisible(false);
|
||||
|
||||
headerLabel = new QLabel(setupTargetPage);
|
||||
headerLabel->setWordWrap(true);
|
||||
@@ -89,9 +92,6 @@ public:
|
||||
noValidKitLabel->setWordWrap(true);
|
||||
noValidKitLabel->setText(TargetSetupPage::tr("<span style=\" font-weight:600;\">No valid kits found.</span>"));
|
||||
|
||||
descriptionLabel = new QLabel(setupTargetPage);
|
||||
descriptionLabel->setWordWrap(true);
|
||||
descriptionLabel->setVisible(false);
|
||||
|
||||
optionHintLabel = new QLabel(setupTargetPage);
|
||||
optionHintLabel->setWordWrap(true);
|
||||
|
||||
Reference in New Issue
Block a user