remove redundant .c_str()
u8s2qs(takes std::string) dbd is same type of tl which is vector<string>
This commit is contained in:
parent
5608a8f79c
commit
3e3711da51
@ -416,7 +416,7 @@ void rwSettings(bool writing)
|
||||
} else {
|
||||
vector<string> tl = g_dynconf->getStringEntries<vector>(asbdSk);
|
||||
for (const auto& dbd: tl) {
|
||||
prefs.asearchSubdirHist.push_back(u8s2qs(dbd.c_str()));
|
||||
prefs.asearchSubdirHist.push_back(u8s2qs(dbd));
|
||||
}
|
||||
}
|
||||
if (!writing) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user