no duplicated success messages: one connection is enough

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32653 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2009-12-27 10:03:16 +00:00
parent 9f1be444fa
commit 00bb647721

View File

@ -277,8 +277,6 @@ struct GuiView::GuiViewPrivate
if (preview_watcher_.isRunning())
preview_watcher_.waitForFinished();
preview_watcher_.setFuture(f);
connect(&preview_watcher_, SIGNAL(finished()), gv_,
SLOT(threadFinished()));
}
#endif
@ -374,6 +372,8 @@ GuiView::GuiView(int id)
#if (QT_VERSION >= 0x040400)
connect(&d.autosave_watcher_, SIGNAL(finished()), this,
SLOT(threadFinished()));
connect(&d.preview_watcher_, SIGNAL(finished()), this,
SLOT(threadFinished()));
#endif
connect(this, SIGNAL(triggerShowDialog(QString const &, QString const &, Inset *)),