Minor Preferences cleanup

This commit is contained in:
Mark Watkins 2011-10-30 15:01:51 +10:00
parent 1feb6818a7
commit ab0d215faf
2 changed files with 25 additions and 13 deletions

View File

@ -262,7 +262,6 @@ void MainWindow::on_action_Import_Data_triggered()
PROFILE.Save();
if (daily) daily->ReloadGraphs();
if (overview) overview->ReloadGraphs();
//qDebug() << "overview->ReloadGraphs();";
}
qstatus->setText("");
qprogress->hide();
@ -404,7 +403,7 @@ void MainWindow::on_action_Preferences_triggered()
qDebug() << "Preferences Accepted";
pd.Save();
if (daily) {
daily->ReloadGraphs();
//daily->ReloadGraphs();
daily->RedrawGraphs();
}
if (overview) {

View File

@ -196,8 +196,18 @@ It has no effect on single cpu machines.</string>
</property>
</widget>
</item>
<item row="7" column="2">
<widget class="QCheckBox" name="skipEmptyDays">
<property name="toolTip">
<string>Skip empty days with Prev &amp; Next buttons above daily view calendar</string>
</property>
<property name="text">
<string>Skip Empty Days</string>
</property>
</widget>
</item>
<item row="4" column="3">
<spacer name="horizontalSpacer_6">
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@ -209,16 +219,6 @@ It has no effect on single cpu machines.</string>
</property>
</spacer>
</item>
<item row="7" column="2">
<widget class="QCheckBox" name="skipEmptyDays">
<property name="toolTip">
<string>Skip empty days with Prev &amp; Next buttons above daily view calendar</string>
</property>
<property name="text">
<string>Skip Empty Days</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="sessionTab">
@ -862,6 +862,19 @@ p, li { white-space: pre-wrap; }
</property>
</widget>
</item>
<item row="3" column="5">
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>