ProfileManager: adapt to Corrade changes.
This commit is contained in:
parent
5af4ad0e66
commit
90fd22225f
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ ProfileManager::backupProfile(std::size_t index, bool backup_builds) {
|
||||||
auto& profile = _profiles[index];
|
auto& profile = _profiles[index];
|
||||||
|
|
||||||
auto filename = Utility::format("{}_{}{:.2d}{:.2d}_{:.2d}{:.2d}{:.2d}.backup.mbst",
|
auto filename = Utility::format("{}_{}{:.2d}{:.2d}_{:.2d}{:.2d}{:.2d}.backup.mbst",
|
||||||
Utility::String::replaceAll(profile.companyName().data(), " ", "_").c_str(),
|
Utility::String::replaceAll(profile.companyName().data(), " ", "_").data(),
|
||||||
time->tm_year + 1900, time->tm_mon + 1, time->tm_mday,
|
time->tm_year + 1900, time->tm_mon + 1, time->tm_mday,
|
||||||
time->tm_hour, time->tm_min, time->tm_sec);
|
time->tm_hour, time->tm_min, time->tm_sec);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue