Clean and order documentation in source files. Source ready to beta 2 release
[mdictionary] / src / mdictionary / gui / AboutWidget.cpp
index 1a4763a..72eb839 100644 (file)
     Copyright 2010 Comarch S.A.
 
 *******************************************************************************/
-//! \file AboutWidget.cpp
-//! \brief Simple "about" widget - product, company, license info
-//! \author Bartosz Szatkowski <bulislaw@linux.com>
+/*! \file AboutWidget.cpp
+    \brief Simple "about" widget - product, company, license info
+
+    \author Bartosz Szatkowski <bulislaw@linux.com>
+*/
 
 #include "AboutWidget.h"
 
+
 AboutWidget::AboutWidget(GUIInterface *parent): QDialog(parent)
 {
+    setModal(true);
     QString infoNote, licenseNote, comarchNote;
     infoNote = "<center><h2><u>mDictionary</u></h2></center>";
     comarchNote = "<center>Maemo/Meego Multilingual Dictionary</center>";
@@ -35,16 +39,16 @@ AboutWidget::AboutWidget(GUIInterface *parent): QDialog(parent)
     comarchNote += "<br/><font size=\"small\"><a href=\"https://garage.maemo.org/tracker/?func=add&group_id=58&atid=305\">"
                    "Report bug</a></font></center>";
     licenseNote = QString("<br><p><font size=\"small\">This program is free"
-                  "software: you can redistribute it and/or modify\n"
+                  " software: you can redistribute it and/or modify\n"
                   "it under the terms of the GNU General Public License as"
-                  "published by\n"
+                  " published by\n"
                   "the Free Software Foundation, either version 3 of the License,"
-                  "or\n"
+                  " or\n"
                   "(at your option) any later version.<br>"
                   "This program is distributed in the hope that it will be"
-                  "useful,\n"
+                  " useful,\n"
                   "but WITHOUT ANY WARRANTY; without even the implied warranty"
-                  "of\n"
+                  " of\n"
                   "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. "
                   "See the\n"
                   "GNU General Public License for more details.<br>"