Refactoring / code cleanup
[weightgraph] / weightgraph / editwindow.cpp
index 374982e..a19f90b 100644 (file)
@@ -50,8 +50,8 @@ EditWindow::EditWindow(QWidget *parent) :
           SIGNAL(selectionChanged(const QItemSelection &,const QItemSelection &)),
           this, SLOT(updateButtons()));
   updateButtons();
-
 }
+
 AddWeightDialog::AddWeightDialog(QWidget *parent)
     : QDialog(parent)
 {
@@ -59,7 +59,6 @@ AddWeightDialog::AddWeightDialog(QWidget *parent)
   QGridLayout *layout = new QGridLayout(this);
 
   QLabel *dateLabel = new QLabel("Date:", this);
-  //dateLabel->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Maximum);
   layout->addWidget(dateLabel, 0, 0);
 
 #ifdef Q_WS_MAEMO_5
@@ -75,7 +74,6 @@ AddWeightDialog::AddWeightDialog(QWidget *parent)
   layout->addWidget(date, 1, 0);
 
   QLabel *weightLabel = new QLabel("Weight:", this);
-  //weightLabel->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Maximum);
   layout->addWidget(weightLabel, 0, 1);
 
   weight = new WeightSpinBox(this);