1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 17:52:10 +02:00

Take the edited title into account when saving the bookmark.

This commit is contained in:
Franz Fellner 2012-09-10 15:05:27 +02:00
parent 29cc7cf47d
commit 5ca9b8b21a

View File

@ -108,8 +108,7 @@ void BookmarksWidget::removeBookmark()
void BookmarksWidget::saveBookmark() void BookmarksWidget::saveBookmark()
{ {
// m_bookmarksModel->editBookmark(m_bookmarkId, ui->name->text(), QUrl(), ui->folder->itemData(ui->folder->currentIndex()).toString()); m_bookmarksModel->saveBookmark(m_url, ui->name->text(), m_view->icon(), ui->folder->currentText());
m_bookmarksModel->saveBookmark(m_view, ui->folder->currentText());
QTimer::singleShot(hideDelay, this, SLOT(close())); QTimer::singleShot(hideDelay, this, SLOT(close()));
} }