From 5ca9b8b21ac5d3888597073f15e4aed4031ce628 Mon Sep 17 00:00:00 2001 From: Franz Fellner Date: Mon, 10 Sep 2012 15:05:27 +0200 Subject: [PATCH] Take the edited title into account when saving the bookmark. --- src/lib/bookmarks/bookmarkswidget.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/bookmarks/bookmarkswidget.cpp b/src/lib/bookmarks/bookmarkswidget.cpp index e5646c99f..6898efe23 100644 --- a/src/lib/bookmarks/bookmarkswidget.cpp +++ b/src/lib/bookmarks/bookmarkswidget.cpp @@ -108,8 +108,7 @@ void BookmarksWidget::removeBookmark() void BookmarksWidget::saveBookmark() { -// m_bookmarksModel->editBookmark(m_bookmarkId, ui->name->text(), QUrl(), ui->folder->itemData(ui->folder->currentIndex()).toString()); - m_bookmarksModel->saveBookmark(m_view, ui->folder->currentText()); + m_bookmarksModel->saveBookmark(m_url, ui->name->text(), m_view->icon(), ui->folder->currentText()); QTimer::singleShot(hideDelay, this, SLOT(close())); }