mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
parent
4375b54b5c
commit
26e814933c
|
@ -65,6 +65,10 @@ void BookmarksModel::setShowingOnlyIconsInToolbar(bool state)
|
||||||
|
|
||||||
bool BookmarksModel::isFolder(const QString &name)
|
bool BookmarksModel::isFolder(const QString &name)
|
||||||
{
|
{
|
||||||
|
if (name == "bookmarksToolbar" || name == "bookmarksMenu" || name == "unsorted") {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
QSqlQuery query;
|
QSqlQuery query;
|
||||||
query.prepare("SELECT name FROM folders WHERE name = ?");
|
query.prepare("SELECT name FROM folders WHERE name = ?");
|
||||||
query.bindValue(0, name);
|
query.bindValue(0, name);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user