diff options
-rw-r--r-- | browser/bookmarkmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/browser/bookmarkmanager.cpp b/browser/bookmarkmanager.cpp index d7cc67b..c786f2e 100644 --- a/browser/bookmarkmanager.cpp +++ b/browser/bookmarkmanager.cpp @@ -158,7 +158,7 @@ conn::brw::ERROR_IDS bookmarkmanager::getItems(const QString &path, int type, co uint found = 0; for (int i = 0; i < bookmarklist.size(); ++i) { - if (bookmarklist.at(i)->folderpath() == path && bookmarklist.at(i)->type() == type && added < count) { + if (bookmarklist.at(i)->folderpath() == path && bookmarklist.at(i)->type() & type && added < count) { found++; if(found >= index) { |