summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2019-11-21 22:06:38 +0100
committerAlessandro Portale <alessandro.portale@qt.io>2019-11-22 11:35:07 +0000
commitb619c60ff715c99a3bee64e14ae41600028df48e (patch)
treed902cbabbf67a184f396639869507a76269a5fe5
parent7a46dc620ebe715b95077a04098bec8c039ed978 (diff)
downloadqt-creator-b619c60ff715c99a3bee64e14ae41600028df48e.tar.gz
CMakeprojectManager: Use Utils::ElidingLabel in GeneratorKitAspect
Don't stretch the kit options page horizontally more than required. Change-Id: I8eb3855ae48a8a172741b1c42f79b9e05cc7eb42 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r--src/plugins/cmakeprojectmanager/cmakekitinformation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp b/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp
index 63dfdac4c6..26e4bffdeb 100644
--- a/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp
+++ b/src/plugins/cmakeprojectmanager/cmakekitinformation.cpp
@@ -318,7 +318,7 @@ class CMakeGeneratorKitAspectWidget : public KitAspectWidget
public:
CMakeGeneratorKitAspectWidget(Kit *kit, const ::KitAspect *ki)
: KitAspectWidget(kit, ki),
- m_label(new QLabel),
+ m_label(new Utils::ElidingLabel),
m_changeButton(new QPushButton)
{
m_label->setToolTip(ki->description());
@@ -459,7 +459,7 @@ private:
}
bool m_ignoreChange = false;
- QLabel *m_label;
+ Utils::ElidingLabel *m_label;
QPushButton *m_changeButton;
CMakeTool *m_currentTool = nullptr;
};