mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
1ec5b915af
commit
2feb843942
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user