Updated version to 0.3. Now when deleting the memory, RTAB-Map reset the log files at the same time.

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@209 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2011-06-21 17:19:45 +00:00
parent 6a84c99abc
commit fb48cce623
5 changed files with 28 additions and 19 deletions

View File

@@ -1061,7 +1061,7 @@ void MainWindow::deleteMemory()
{
button = QMessageBox::question(this,
tr("Deleting memory..."),
tr("The remote database file \"%1\" will be deleted. Are you sure you want to continue? (This cannot be reverted)").arg(dbPath),
tr("The remote database file \"%1\" and log files will be deleted. Are you sure you want to continue? (This cannot be reverted)").arg(dbPath),
QMessageBox::Yes|QMessageBox::No,
QMessageBox::No);
}
@@ -1069,7 +1069,7 @@ void MainWindow::deleteMemory()
{
button = QMessageBox::question(this,
tr("Deleting memory..."),
tr("The database file \"%1\" (%2 MB) will be deleted. Are you sure you want to continue? (This cannot be reverted)").arg(dbPath).arg(UFile::length(dbPath.toStdString())/1000000),
tr("The database file \"%1\" (%2 MB) and log files will be deleted. Are you sure you want to continue? (This cannot be reverted)").arg(dbPath).arg(UFile::length(dbPath.toStdString())/1000000),
QMessageBox::Yes|QMessageBox::No,
QMessageBox::No);
}

View File

@@ -266,7 +266,7 @@
<x>0</x>
<y>0</y>
<width>839</width>
<height>23</height>
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
@@ -279,17 +279,17 @@
<property name="title">
<string>Edit</string>
</property>
<addaction name="actionReset_the_memory"/>
<addaction name="actionDelete_memory"/>
<addaction name="actionApply_settings_to_the_detector"/>
<addaction name="actionClear_cache"/>
<addaction name="separator"/>
<addaction name="actionOpen_working_directory"/>
<addaction name="actionDelete_memory"/>
<addaction name="separator"/>
<addaction name="actionDump_the_memory"/>
<addaction name="actionDump_the_prediction_matrix"/>
<addaction name="actionGenerate_map"/>
<addaction name="actionReset_the_memory"/>
<addaction name="separator"/>
<addaction name="actionApply_settings_to_the_detector"/>
<addaction name="separator"/>
<addaction name="actionClear_cache"/>
<addaction name="actionAuto_screen_capture"/>
</widget>
<widget class="QMenu" name="menu6">