MCPcopy Create free account
hub / github.com/davy7125/polyphone / getLastFileDateTime

Method getLastFileDateTime

sources/context/recentfilemanager.cpp:178–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178QDateTime RecentFileManager::getLastFileDateTime(FileType fileType, int num)
179{
180 QDateTime datetime;
181
182 switch (fileType)
183 {
184 case FILE_TYPE_SOUNDFONT:
185 if (num >= 0 && num < _listDateTimes.count())
186 datetime = _listDateTimes.at(num);
187 break;
188 default:
189 break;
190 }
191
192 return datetime;
193}
194
195QString RecentFileManager::getLastDirectory(FileType fileType)
196{

Callers 1

recentSf2ChangedMethod · 0.80

Calls 1

countMethod · 0.45

Tested by

no test coverage detected