~ubuntu-branches/ubuntu/oneiric/soprano/oneiric-updates

« back to all changes in this revision

Viewing changes to backends/virtuoso/virtuosobackend.cpp

  • Committer: Package Import Robot
  • Author(s): Scott Kitterman
  • Date: 2011-12-08 16:40:13 UTC
  • mfrom: (60.1.2 precise)
  • Revision ID: package-import@ubuntu.com-20111208164013-q9pswzmys8myy8oa
Tags: 2.7.4+dfsg.1-0ubuntu0.1
Post release update for oneiric to resolve ongoing issues with Nepomuk
(LP: #901888)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * This file is part of Soprano Project
3
3
 *
4
 
 * Copyright (C) 2008-2010 Sebastian Trueg <trueg@kde.org>
 
4
 * Copyright (C) 2008-2011 Sebastian Trueg <trueg@kde.org>
5
5
 *
6
6
 * This library is free software; you can redistribute it and/or
7
7
 * modify it under the terms of the GNU Library General Public
115
115
    VirtuosoModel* model = new VirtuosoModel( connectionPool, this );
116
116
    // mem mangement the ugly way
117
117
    // FIXME: improve
118
 
    if ( controller )
 
118
    if ( controller ) {
119
119
        controller->setParent( model );
 
120
        connect(controller, SIGNAL(stopped(Soprano::VirtuosoController::ExitStatus)), model, SLOT(slotVirtuosoStopped(Soprano::VirtuosoController::ExitStatus)));
 
121
    }
120
122
    return model;
121
123
}
122
124