mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-02 14:14:10 +00:00
UDSEntry::insert -> UDSEntry::fastInsert
we're clearing the UDSEntry just before the inserts so it's safe to assume we're not inserting something that was there already
This commit is contained in:
parent
8a1bef81f8
commit
4085181512
|
@ -182,13 +182,13 @@ bool ProtocolMSITS::parseLoadAndLookup(const QUrl &url, QString &abspath)
|
|||
*/
|
||||
static void app_entry(UDSEntry &e, unsigned int uds, const QString &str)
|
||||
{
|
||||
e.insert(uds, str);
|
||||
e.fastInsert(uds, str);
|
||||
}
|
||||
|
||||
// appends an int with the UDS-ID uds
|
||||
static void app_entry(UDSEntry &e, unsigned int uds, long l)
|
||||
{
|
||||
e.insert(uds, l);
|
||||
e.fastInsert(uds, l);
|
||||
}
|
||||
|
||||
// internal function
|
||||
|
|
Loading…
Reference in a new issue