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();
|
||||
if (QTC_GUARD(sb)) {
|
||||
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)
|
||||
fetchMoreIssues();
|
||||
}
|
||||
|
@@ -11,10 +11,6 @@ QT_END_NAMESPACE
|
||||
|
||||
namespace Axivion::Internal {
|
||||
|
||||
namespace Dto {
|
||||
class TableInfoDto;
|
||||
}
|
||||
|
||||
class AxivionOutputPane : public Core::IOutputPane
|
||||
{
|
||||
Q_OBJECT
|
||||
|
@@ -43,7 +43,6 @@
|
||||
#include <QNetworkReply>
|
||||
#include <QTimer>
|
||||
|
||||
#include <exception>
|
||||
#include <memory>
|
||||
|
||||
constexpr char AxivionTextMarkId[] = "AxivionTextMark";
|
||||
|
@@ -11,8 +11,6 @@
|
||||
#include <QUrl>
|
||||
#include <QVersionNumber>
|
||||
|
||||
#include <memory>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QIcon;
|
||||
QT_END_NAMESPACE
|
||||
@@ -32,7 +30,7 @@ struct IssueListSearch
|
||||
QString owner;
|
||||
QString filter_path;
|
||||
int offset = 0;
|
||||
int limit = 30;
|
||||
int limit = 150;
|
||||
bool computeTotalRowCount = false;
|
||||
|
||||
QString toQuery() const;
|
||||
|
Reference in New Issue
Block a user