|
From: <dhu...@us...> - 2007-01-10 21:13:28
|
Revision: 145
http://svn.sourceforge.net/qcell/?rev=145&view=rev
Author: dhubleizh
Date: 2007-01-10 13:13:26 -0800 (Wed, 10 Jan 2007)
Log Message:
-----------
- some additional timer comments
- changed old // TODO: into doxygen
Modified Paths:
--------------
trunk/qcell/visgui/MainWindow.cpp
Modified: trunk/qcell/visgui/MainWindow.cpp
===================================================================
--- trunk/qcell/visgui/MainWindow.cpp 2007-01-10 21:09:28 UTC (rev 144)
+++ trunk/qcell/visgui/MainWindow.cpp 2007-01-10 21:13:26 UTC (rev 145)
@@ -116,7 +116,7 @@
void MainWindow::on_action_Quit_activated()
{
- // TODO: Some saving checking
+ /// @todo Some saving checking
QCoreApplication::exit();
}
@@ -477,11 +477,14 @@
void MainWindow::oneStep(int direction)
{
+ // Used to derermin how long the calculation took place.
+ // Needed for delay calculation.
QTime t;
switch (direction)
{
case Forward:
{
+ // Start the calculation timing
t.start();
if((iteration + 1) >= data.count())
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|