mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
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:
parent
9f1be444fa
commit
00bb647721
@ -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 *)),
|
||||
|
Loading…
Reference in New Issue
Block a user