Commit af820b73 authored by Daniel Teske's avatar Daniel Teske Committed by hjk

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: default avatarBogDan Vatra <bogdan@kde.org>
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent fdc3f60a
......@@ -32,6 +32,7 @@
#include "androidtoolchain.h"
#include <utils/pathchooser.h>
#include <utils/elidinglabel.h>
#include <QDialogButtonBox>
#include <QLabel>
......@@ -110,7 +111,7 @@ Utils::FileName AndroidGdbServerKitInformation::autoDetect(ProjectExplorer::Kit
AndroidGdbServerKitInformationWidget::AndroidGdbServerKitInformationWidget(ProjectExplorer::Kit *kit)
: ProjectExplorer::KitConfigWidget(kit),
m_label(new QLabel),
m_label(new Utils::ElidingLabel),
m_button(new QPushButton(tr("Manage...")))
{
// ToolButton with Menu, defaulting to 'Autodetect'.
......
......@@ -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'.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment