]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/QError.C
Some string(widget->text()) fixes. Weirdness
[lyx.git] / src / frontends / qt2 / QError.C
index a86622b4fd2d49932edc682d66d0436179e01a74..6adab2d68171f466d4e78c74a84d299e8f10ccd4 100644 (file)
@@ -1,26 +1,34 @@
 /**
  * \file QError.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author John Levon <moz@compsoc.man.ac.uk>
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #include <config.h>
 
-#include "QErrorDialog.h"
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
 #include "ControlError.h"
-#include "QError.h"
-#include "Qt2BC.h"
 #include "gettext.h"
 
 #include <qtextview.h>
 #include <qpushbutton.h>
 
+#include "QErrorDialog.h"
+#include "QError.h"
+#include "Qt2BC.h"
+
 typedef Qt2CB<ControlError, Qt2DB<QErrorDialog> > base_class;
 
-QError::QError(ControlError & c)
-       : base_class(c, _("LaTeX Error"))
+
+QError::QError()
+       : base_class(_("LaTeX Error"))
 {
 }