forked from qt-creator/qt-creator
Axivion: Raise default limit for search
Minor clean ups. Change-Id: I685f067e1830c41c958645de624c4e4dd360ac4b Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -315,7 +315,7 @@ IssuesWidget::IssuesWidget(QWidget *parent)
|
|||||||
auto sb = m_issuesView->verticalScrollBar();
|
auto sb = m_issuesView->verticalScrollBar();
|
||||||
if (QTC_GUARD(sb)) {
|
if (QTC_GUARD(sb)) {
|
||||||
connect(sb, &QAbstractSlider::valueChanged, sb, [this, sb](int value) {
|
connect(sb, &QAbstractSlider::valueChanged, sb, [this, sb](int value) {
|
||||||
if (value >= sb->maximum() - 10) {
|
if (value >= sb->maximum() - 50) {
|
||||||
if (m_issuesModel->rowCount() < m_totalRowCount)
|
if (m_issuesModel->rowCount() < m_totalRowCount)
|
||||||
fetchMoreIssues();
|
fetchMoreIssues();
|
||||||
}
|
}
|
||||||
|
@@ -11,10 +11,6 @@ QT_END_NAMESPACE
|
|||||||
|
|
||||||
namespace Axivion::Internal {
|
namespace Axivion::Internal {
|
||||||
|
|
||||||
namespace Dto {
|
|
||||||
class TableInfoDto;
|
|
||||||
}
|
|
||||||
|
|
||||||
class AxivionOutputPane : public Core::IOutputPane
|
class AxivionOutputPane : public Core::IOutputPane
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@@ -43,7 +43,6 @@
|
|||||||
#include <QNetworkReply>
|
#include <QNetworkReply>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
|
||||||
#include <exception>
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
constexpr char AxivionTextMarkId[] = "AxivionTextMark";
|
constexpr char AxivionTextMarkId[] = "AxivionTextMark";
|
||||||
|
@@ -11,8 +11,6 @@
|
|||||||
#include <QUrl>
|
#include <QUrl>
|
||||||
#include <QVersionNumber>
|
#include <QVersionNumber>
|
||||||
|
|
||||||
#include <memory>
|
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
class QIcon;
|
class QIcon;
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
@@ -32,7 +30,7 @@ struct IssueListSearch
|
|||||||
QString owner;
|
QString owner;
|
||||||
QString filter_path;
|
QString filter_path;
|
||||||
int offset = 0;
|
int offset = 0;
|
||||||
int limit = 30;
|
int limit = 150;
|
||||||
bool computeTotalRowCount = false;
|
bool computeTotalRowCount = false;
|
||||||
|
|
||||||
QString toQuery() const;
|
QString toQuery() const;
|
||||||
|
Reference in New Issue
Block a user