MCPcopy Create free account
hub / github.com/PointCloudLibrary/pcl / getRecentFolder

Method getRecentFolder

apps/modeler/src/main_window.cpp:301–314  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

299
300//////////////////////////////////////////////////////////////////////////////////////////////
301QString
302pcl::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//////////////////////////////////////////////////////////////////////////////////////////////
317void

Callers 3

slotOpenPointCloudMethod · 0.80
slotImportPointCloudMethod · 0.80
slotSavePointCloudMethod · 0.80

Calls 2

emptyMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected