mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
Fixed most Qt 5.14 deprecation warnings
This commit is contained in:
@@ -407,7 +407,7 @@ namespace BlackMisc
|
||||
|
||||
auto it = std::max_element(files.cbegin(), files.cend(), [](const QFileInfo & a, const QFileInfo & b)
|
||||
{
|
||||
return a.created() < b.created();
|
||||
return a.birthTime() < b.birthTime();
|
||||
});
|
||||
return *it;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user