/////////////////////////////////////////////////////////////////////////////////////////
| 299 | |
| 300 | ////////////////////////////////////////////////////////////////////////////////////////////// |
| 301 | QString |
| 302 | pcl::modeler::MainWindow::getRecentFolder() |
| 303 | { |
| 304 | QString recent_filename; |
| 305 | if (!recent_projects_.empty()) |
| 306 | recent_filename = recent_projects_.front(); |
| 307 | else if (!recent_files_.empty()) |
| 308 | recent_filename = recent_files_.front(); |
| 309 | |
| 310 | if (!recent_filename.isEmpty()) |
| 311 | return QFileInfo(recent_filename).path(); |
| 312 | |
| 313 | return "."; |
| 314 | } |
| 315 | |
| 316 | ////////////////////////////////////////////////////////////////////////////////////////////// |
| 317 | void |
no test coverage detected