mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-11 07:22:09 +08:00
use toList
This commit is contained in:
@@ -172,7 +172,7 @@ void PlatformSelector::searchPlatforms(const QString &query) {
|
||||
}
|
||||
}
|
||||
|
||||
QStringList results = QStringList(matched_cars.begin(), matched_cars.end());
|
||||
QStringList results = matched_cars.toList();
|
||||
results.sort();
|
||||
|
||||
if (results.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user