DebuggerKitInformation: Use Eliding Label

The path to the debugger and gsbserver can get long. This prevents
scrollbars in those cases.

Change-Id: Ic8c22d764ce9d5d798ea3c8d2a9f638d51a30351
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Daniel Teske
2013-02-08 14:09:04 +01:00
committed by hjk
parent fdc3f60a58
commit af820b73c7
2 changed files with 4 additions and 2 deletions

View File

@@ -35,6 +35,7 @@
#include <utils/pathchooser.h>
#include <utils/qtcassert.h>
#include <utils/elidinglabel.h>
#ifdef Q_OS_WIN
#include <utils/winutils.h>
@@ -64,7 +65,7 @@ static const char debuggingToolsWikiLinkC[] = "http://qt-project.org/wiki/Qt_Cre
DebuggerKitConfigWidget::DebuggerKitConfigWidget(ProjectExplorer::Kit *workingCopy)
: KitConfigWidget(workingCopy),
m_label(new QLabel),
m_label(new Utils::ElidingLabel),
m_button(new QPushButton(tr("Manage...")))
{
// ToolButton with Menu, defaulting to 'Autodetect'.