From 1f4d1a5820d3d5aba2f32394fb3d9aac55aada5b Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Thu, 4 Apr 2024 10:36:13 +0200 Subject: [PATCH] QmlDesigner: Use different changelog path for QDS * Do not deploy Qt Creator changelog for Qt Design Studio * Set minimum size on combo box Change-Id: Ic069c76b5a02963972ec199553ce9e27c820f75a Reviewed-by: Qt CI Patch Build Bot Reviewed-by: Tim Jenssen --- CMakeLists.txt | 4 +++- src/plugins/coreplugin/icore.cpp | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e56479a98b9..d88f2491144 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -170,7 +170,9 @@ endif() add_subdirectory(src) add_subdirectory(share) -add_subdirectory(dist) +if (NOT BUILD_DESIGNSTUDIO) + add_subdirectory(dist) +endif() if (WITH_TESTS) add_subdirectory(tests) diff --git a/src/plugins/coreplugin/icore.cpp b/src/plugins/coreplugin/icore.cpp index 8a727494c2d..84548d91cf4 100644 --- a/src/plugins/coreplugin/icore.cpp +++ b/src/plugins/coreplugin/icore.cpp @@ -2578,6 +2578,7 @@ void ICorePrivate::changeLog() }); auto versionCombo = new QComboBox; + versionCombo->setMinimumWidth(80); for (const VersionFilePair &f : versionedFiles) versionCombo->addItem(f.first.toString()); dialog = new LogDialog(ICore::dialogParent());