#include "GuiApplication.h"
#include "qt_helpers.h"
-#include "support/gettext.h"
#include "Lexer.h"
-#include <QCloseEvent>
+#include "support/docstring.h"
+#include "support/gettext.h"
+
#include <QTextBrowser>
#include <QSyntaxHighlighter>
#include <QClipboard>
}
-void GuiLog::closeEvent(QCloseEvent * e)
-{
- slotClose();
- e->accept();
-}
-
-
void GuiLog::updateContents()
{
setTitle(toqstr(title()));
bool GuiLog::initialiseParams(string const & data)
{
istringstream is(data);
- Lexer lex(0,0);
+ Lexer lex;
lex.setStream(is);
string logtype, logfile;