diff -r 6cbf3c9cbd21 -r ffb02a9bb508 mainwindow.cpp --- a/mainwindow.cpp Wed Jul 22 11:48:23 2009 +0000 +++ b/mainwindow.cpp Mon Jul 27 12:53:17 2009 +0000 @@ -37,7 +37,6 @@ extern TextEditor *textEditor; extern Main *mainWindow; -extern QDBusConnection dbusConnection; extern QString tmpVymDir; extern QString clipboardDir; extern QString clipboardFile; @@ -228,15 +227,6 @@ restoreState (settings.value("/mainwindow/state",0).toByteArray()); updateGeometry(); - - //Initialize DBUS - new Adaptor (this); - dbusConnection = QDBusConnection::sessionBus(); - dbusConnection.registerObject("/MainWindow", this); - dbusConnection.registerService("org.insilmaril.vym"); - - - } Main::~Main() @@ -3247,11 +3237,12 @@ void Main::updateNoteEditor(QModelIndex index ) { - TreeItem *ti=((VymModel*)sender())->getItem(index); - /* - cout << "Main::updateNoteEditor model="<getItem (index); + //TreeItem *ti=((VymModel*) QObject::sender())->getItem(index); + //cout << "Main::updateNoteEditor model="<setNote (ti->getNoteObj() ); }