mirror of
https://github.com/transmission/transmission.git
synced 2025-12-27 13:41:17 +00:00
fix: sonarcloud code smells (#2421)
This commit is contained in:
@@ -592,7 +592,7 @@ std::string buildFilename(tr_torrent const* tor, Gtk::TreeModel::iterator const&
|
||||
tokens.push_front(child->get_value(file_cols.label));
|
||||
}
|
||||
|
||||
tokens.push_front(tr_torrentGetCurrentDir(tor));
|
||||
tokens.emplace_front(tr_torrentGetCurrentDir(tor));
|
||||
return Glib::build_filename(tokens);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user