Commit 85412376 authored by Harald Sitter's avatar Harald Sitter 🏳️‍🌈
Browse files

deprecation--

parent 183ac8a0
/*******************************************************************
* reportassistantpages_bugzilla.cpp
* SPDX-FileCopyrightText: 2009, 2010, 2011 Dario Andres Rodriguez <andresbajotierra@gmail.com>
* SPDX-FileCopyrightText: 2019 Harald Sitter <sitter@kde.org>
* SPDX-FileCopyrightText: 2019-2021 Harald Sitter <sitter@kde.org>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
......@@ -25,6 +25,7 @@
#include <KCapacityBar>
#include <KLocalizedString>
#include <KMessageBox>
#include <kcompletion_version.h>
#include <kwallet.h>
/* Unhandled error dialog includes */
......@@ -76,7 +77,11 @@ BugzillaLoginPage::BugzillaLoginPage(ReportAssistantDialog *parent)
connect(ui.m_loginButton, &QPushButton::clicked, this, &BugzillaLoginPage::loginClicked);
#if KCOMPLETION_VERSION >= QT_VERSION_CHECK(5, 81, 0)
connect(ui.m_userEdit, &KLineEdit::returnKeyPressed, this, &BugzillaLoginPage::loginClicked);
#else
connect(ui.m_userEdit, &KLineEdit::returnPressed, this, &BugzillaLoginPage::loginClicked);
#endif
connect(ui.m_passwordEdit->lineEdit(), &QLineEdit::returnPressed, this, &BugzillaLoginPage::loginClicked);
connect(ui.m_userEdit, &KLineEdit::textChanged, this, &BugzillaLoginPage::updateLoginButtonStatus);
......
Supports Markdown
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