Compare: Adjustment of the title bar of GuiCompare is no longer needed since we have a statusbar.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33022 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-01-14 01:05:36 +00:00
parent 1ec5b915af
commit 2feb843942

View File

@ -192,7 +192,6 @@ void GuiCompare::enableControls(bool enable) const
void GuiCompare::error()
{
Alert::error(_("Error"), _("Error while comparing documents."));
window_title_ = windowTitle();
finished(true);
}
@ -210,7 +209,6 @@ void GuiCompare::finished(bool aborted)
dest_buffer_->markClean();
theBufferList().release(dest_buffer_);
}
setWindowTitle(window_title_);
progressBar->setValue(0);
statusBar->showMessage(qt_("Aborted"), 5000);
} else {
@ -237,7 +235,6 @@ void GuiCompare::progressMax(int max) const
}
void GuiCompare::setStatusMessage(QString msg)
{
statusBar->showMessage(msg);
@ -255,8 +252,6 @@ void GuiCompare::slotOK()
void GuiCompare::slotCancel()
{
if (compare_ && compare_->isRunning()) {
window_title_ = windowTitle();
setWindowTitle(window_title_ + " " + qt_("(cancelling)"));
statusBar->showMessage(qt_("Aborting process..."));
compare_->abort();
} else {