<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,5 @@
 /*
-* Copyright (C) 2005-2007 Benjamin C Meyer
+* Copyright (C) 2005-2009 Benjamin C Meyer
 * Copyright (C) 2001-2002 Walter Rawdanik
 * All rights reserved.
 *
@@ -39,7 +39,8 @@
 #include &quot;playground.h&quot;
 #include &quot;gamedialog.h&quot;
 
-FileDialog::FileDialog(const QString &amp;dir, QWidget *parent): QWidget(parent)
+FileDialog::FileDialog(const QString &amp;dir, QWidget *parent)
+    : QWidget(parent)
 {
     directory = dir;
     vMargin = 24;
@@ -69,13 +70,13 @@ FileDialog::FileDialog(const QString &amp;dir, QWidget *parent): QWidget(parent)
     treeView-&gt;header()-&gt;setStretchLastSection(false);
 }
 
-void FileDialog::keyPressEvent( QKeyEvent *e )
+void FileDialog::keyPressEvent(QKeyEvent *event)
 {
-    switch (e-&gt;key()) {
-    case  Qt::Key_F33:
+    switch (event-&gt;key()) {
+    case Qt::Key_F33:
         load();
         break;
-    case  Qt::Key_Escape:
+    case Qt::Key_Escape:
         emit done();
         break;
     default:
@@ -123,7 +124,7 @@ void FileDialog::refresh()
     model-&gt;setHeaderData(2, Qt::Horizontal,  Qt::black, Qt::BackgroundRole);
 
     if (d.exists()) {
-        d.setFilter( QDir::Files | QDir::Readable | QDir::NoSymLinks );
+        d.setFilter(QDir::Files | QDir::Readable | QDir::NoSymLinks);
         d.setSorting(QDir::Time);
         d.setNameFilters((QStringList() &lt;&lt; &quot;*.puzzle&quot; &lt;&lt; &quot;*.anigma&quot;));
         const QFileInfoList list = d.entryInfoList();
@@ -131,7 +132,7 @@ void FileDialog::refresh()
             QFileInfo info = list.at(i);
             unsigned int level;
             unsigned int points;
-            if (Playground::savedPlaygroundInfo(info.absoluteFilePath(), &amp;points, &amp;level) ) {
+            if (Playground::savedPlaygroundInfo(info.absoluteFilePath(), &amp;points, &amp;level)) {
                 model-&gt;insertRow(model-&gt;rowCount());
                 QModelIndex idx = model-&gt;index(model-&gt;rowCount() - 1, 0);
                 model-&gt;itemFromIndex(idx)-&gt;setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
@@ -176,7 +177,7 @@ void FileDialog::load()
 
 void FileDialog::deleteSelected()
 {
-    GameDialog *dlg = new GameDialog(this-&gt;parentWidget());
+    GameDialog *dlg = new GameDialog(parentWidget());
     dlg-&gt;configure(&quot;Delete selected game?&quot;, false, false, 0, &quot;Yes&quot;, QString::null, &quot;No&quot;);
     QModelIndex idx = treeView-&gt;currentIndex();
     idx = idx.sibling(idx.row(), 0);</diff>
      <filename>src/filedialog.cpp</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ab88137e7a100cbe7c7272f41834be53e1fca516</id>
    </parent>
  </parents>
  <author>
    <name>Benjamin C Meyer</name>
    <email>ben@meyerhome.net</email>
  </author>
  <url>http://github.com/icefox/anigma/commit/3f3643442c75348d112f1ecfeb9359cc8399f42f</url>
  <id>3f3643442c75348d112f1ecfeb9359cc8399f42f</id>
  <committed-date>2009-09-23T21:46:18-07:00</committed-date>
  <authored-date>2009-09-23T21:45:54-07:00</authored-date>
  <message>Fixup a few minor code style things</message>
  <tree>2c7f8a4b41a2a4ab2a85e652080cadbe60140128</tree>
  <committer>
    <name>Benjamin C Meyer</name>
    <email>ben@meyerhome.net</email>
  </committer>
</commit>
