Commit 84a3ff1e authored by Alexander Volkov's avatar Alexander Volkov Committed by Albert Astals Cid

Remove needless space-eating header

Summary:
Huge title "KDE Remote Desktop Client" is senseless.
"Enter or select the address..." tip practically duplicates
the placeholder text in the address line edit.

Reviewers: #kde_applications, aacid

Reviewed By: #kde_applications, aacid

Subscribers: aacid

Differential Revision: https://phabricator.kde.org/D12350
parent fd046f01
......@@ -1044,17 +1044,6 @@ QWidget* MainWindow::newConnectionWidget()
QVBoxLayout *startLayout = new QVBoxLayout(m_newConnectionWidget);
startLayout->setContentsMargins(QMargins(8, 12, 8, 4));
QLabel *headerLabel = new QLabel(m_newConnectionWidget);
headerLabel->setText(i18n("<h1>KDE Remote Desktop Client</h1><br />Enter or select the address of the desktop you would like to connect to."));
QLabel *headerIconLabel = new QLabel(m_newConnectionWidget);
headerIconLabel->setPixmap(QIcon::fromTheme(QStringLiteral("krdc")).pixmap(80));
QHBoxLayout *headerLayout = new QHBoxLayout;
headerLayout->addWidget(headerLabel, 1, Qt::AlignTop);
headerLayout->addWidget(headerIconLabel);
startLayout->addLayout(headerLayout);
QSortFilterProxyModel *remoteDesktopsModelProxy = new QSortFilterProxyModel(this);
remoteDesktopsModelProxy->setSourceModel(m_remoteDesktopsModel);
remoteDesktopsModelProxy->setFilterCaseSensitivity(Qt::CaseInsensitive);
......
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