Changeset View
Changeset View
Standalone View
Standalone View
plugins/subversion/svnlogjob.cpp
Show First 20 Lines • Show All 108 Lines • ▼ Show 20 Line(s) | 107 | { | |||
---|---|---|---|---|---|
109 | m_limit = limit; | 109 | m_limit = limit; | ||
110 | } | 110 | } | ||
111 | 111 | | |||
112 | SvnLogJob::SvnLogJob( KDevSvnPlugin* parent ) | 112 | SvnLogJob::SvnLogJob( KDevSvnPlugin* parent ) | ||
113 | : SvnJobBaseImpl( parent, KDevelop::OutputJob::Silent ) | 113 | : SvnJobBaseImpl( parent, KDevelop::OutputJob::Silent ) | ||
114 | { | 114 | { | ||
115 | setType( KDevelop::VcsJob::Log ); | 115 | setType( KDevelop::VcsJob::Log ); | ||
116 | connect( m_job, &SvnInternalLogJob::logEvent, | 116 | connect( m_job, &SvnInternalLogJob::logEvent, | ||
117 | this, &SvnLogJob::logEventReceived, Qt::QueuedConnection ); | 117 | this, &SvnLogJob::logEventReceived ); | ||
croick: Using a queued connection here, makes the notification for new log entries come too late. | |||||
118 | 118 | | |||
119 | setObjectName(i18n("Subversion Log")); | 119 | setObjectName(i18n("Subversion Log")); | ||
120 | } | 120 | } | ||
121 | 121 | | |||
122 | QVariant SvnLogJob::fetchResults() | 122 | QVariant SvnLogJob::fetchResults() | ||
123 | { | 123 | { | ||
124 | QList<QVariant> list = m_eventList; | 124 | QList<QVariant> list = m_eventList; | ||
125 | m_eventList.clear(); | 125 | m_eventList.clear(); | ||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |
Using a queued connection here, makes the notification for new log entries come too late.