mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 10:22:49 +00:00
dolphin: correct role check in PlacesItem::updateBookmarkForRole()
this has been incorrect since before the fork, finding bugs like this tho.. Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
6c161cc24d
commit
108e765a83
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ void PlacesItem::updateBookmarkForRole(const QByteArray& role)
|
|||
}
|
||||
} else if (role == "url") {
|
||||
m_bookmark.setUrl(url());
|
||||
} else if (role == "udi)") {
|
||||
} else if (role == "udi") {
|
||||
m_bookmark.setMetaDataItem("UDI", udi());
|
||||
} else if (role == "isSystemItem") {
|
||||
m_bookmark.setMetaDataItem("isSystemItem", isSystemItem() ? "true" : "false");
|
||||
|
|
Loading…
Add table
Reference in a new issue