]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiCompare.cpp
Fix crash
[lyx.git] / src / frontends / qt4 / GuiCompare.cpp
index 9a4df587d23373a99780c91382f2248451c915aa..83ffd5ace4240800f6ec039db3778a551a496384 100644 (file)
@@ -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)));