#include "qt_helpers.h"
+#include "support/gettext.h"
#include "support/lstrings.h"
#include "support/lyxtime.h"
#include "lyxfind.h"
#include "LyXRC.h"
-#include <QCloseEvent>
#include <QTextBrowser>
using support::bformat;
GuiChanges::GuiChanges(GuiView & lv)
- : GuiDialog(lv, "changes")
+ : GuiDialog(lv, "changes", qt_("Merge Changes"))
{
setupUi(this);
- setViewTitle(_("Merge Changes"));
connect(closePB, SIGNAL(clicked()), this, SLOT(slotClose()));
connect(nextPB, SIGNAL(clicked()), this, SLOT(nextChange()));
}
-void GuiChanges::closeEvent(QCloseEvent *e)
-{
- slotClose();
- e->accept();
-}
-
-
void GuiChanges::updateContents()
{
docstring text;