]> git.lyx.org Git - features.git/commitdiff
Compare: Adjustment of the title bar of GuiCompare is no longer needed since we have...
authorVincent van Ravesteijn <vfr@lyx.org>
Thu, 14 Jan 2010 01:05:36 +0000 (01:05 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Thu, 14 Jan 2010 01:05:36 +0000 (01:05 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33022 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiCompare.cpp

index b78f63514990a3baac33b6b138ab3f53b78cc59a..51a4a65acdb6664b9be8dbc620c92a83b962a744 100644 (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 {
@@ -235,7 +233,6 @@ void GuiCompare::progressMax(int max) const
 {
        progressBar->setMaximum(max);
 }
-       
 
 
 void GuiCompare::setStatusMessage(QString 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 {