[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdevplatform/vcs/widgets
From: Andreas Pakulat <apaku () gmx ! de>
Date: 2008-03-18 22:29:10
Message-ID: 1205879350.369695.23859.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 787301 by apaku:
fix the connection in the annotation widget
M +3 -1 vcsannotationwidget.cpp
M +1 -1 vcsannotationwidget.h
--- trunk/KDE/kdevplatform/vcs/widgets/vcsannotationwidget.cpp #787300:787301
@@ -29,6 +29,7 @@
#include "../models/vcsannotationmodel.h"
#include "../vcsannotation.h"
#include "ui_vcsannotationwidget.h"
+#include <kdebug.h>
namespace KDevelop
{
@@ -38,7 +39,7 @@
VcsAnnotationModel* m_model;
KDevelop::VcsJob* m_job;
Ui::VcsAnnotationWidget* m_ui;
- void addAnnotation(KDevelop::VcsJob* job)
+ void addAnnotations(KDevelop::VcsJob* job)
{
if( job == m_job )
{
@@ -74,6 +75,7 @@
// annotations->setIndentation(-7);
connect( d->m_job, SIGNAL( resultsReady( KDevelop::VcsJob* ) ),
this, SLOT( addAnnotations( KDevelop::VcsJob* ) ) );
+ d->m_job->setAutoDelete(false);
d->m_job->start();
}
--- trunk/KDE/kdevplatform/vcs/widgets/vcsannotationwidget.h #787300:787301
@@ -39,7 +39,7 @@
VcsAnnotationWidget( const KUrl&, VcsJob*, QWidget* parent = 0 );
virtual ~VcsAnnotationWidget();
private:
- Q_PRIVATE_SLOT(d, void addAnnotation(VcsJob*) )
+ Q_PRIVATE_SLOT(d, void addAnnotations(KDevelop::VcsJob*) )
class VcsAnnotationWidgetPrivate* const d;
};
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic