mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
parent
20addbbf36
commit
58730c73d4
@ -310,11 +310,7 @@ int GuiCompare::run()
|
||||
|
||||
// init the compare object and start it
|
||||
compare_ = new Compare(new_buffer_, old_buffer_, dest_buffer_, options);
|
||||
#if QT_VERSION >= 0x050600
|
||||
connect(compare_, SIGNAL(errorOccurred()), this, SLOT(error()));
|
||||
#else
|
||||
connect(compare_, SIGNAL(error()), this, SLOT(error()));
|
||||
#endif
|
||||
connect(compare_, SIGNAL(finished(bool)), this, SLOT(finished(bool)));
|
||||
connect(compare_, SIGNAL(progress(int)), this, SLOT(progress(int)));
|
||||
connect(compare_, SIGNAL(progressMax(int)), this, SLOT(progressMax(int)));
|
||||
|
@ -56,11 +56,7 @@ GuiProgress::GuiProgress()
|
||||
SLOT(doWarning(QString const &, QString const &)));
|
||||
connect(this, SIGNAL(toggleWarning(QString const &, QString const &, QString const &)),
|
||||
SLOT(doToggleWarning(QString const &, QString const &, QString const &)));
|
||||
#if QT_VERSION >= 0x050600
|
||||
connect(this, SIGNAL(errorOccurred(QString const &, QString const &, QString const &)),
|
||||
#else
|
||||
connect(this, SIGNAL(error(QString const &, QString const &, QString const &)),
|
||||
#endif
|
||||
SLOT(doError(QString const &, QString const &, QString const &)));
|
||||
connect(this, SIGNAL(information(QString const &, QString const &)),
|
||||
SLOT(doInformation(QString const &, QString const &)));
|
||||
|
Loading…
Reference in New Issue
Block a user