1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

Add all tabs to bookmarks now don't add pinned tabs

This commit is contained in:
nowrep 2011-04-19 18:15:36 +02:00
parent 379ff8cd96
commit 6db73b6c1a
2 changed files with 4 additions and 4 deletions

View File

@ -397,9 +397,9 @@ void BookmarksManager::insertAllTabs()
if (dialog->result() == QDialog::Rejected)
return;
for (int i = 0; i<getQupZilla()->tabWidget()->count(); i++) {
WebView* view = getQupZilla()->weView(i);
if (!view || view->url().isEmpty())
foreach (WebTab* tab, getQupZilla()->tabWidget()->allTabs(false)) {
WebView* view = tab->view();
if (view->url().isEmpty())
continue;
m_bookmarksModel->saveBookmark(view->url(), view->title(), BookmarksModel::fromTranslatedFolder(combo->currentText()));

View File

@ -47,9 +47,9 @@
ClickToFlash::ClickToFlash(const QUrl &pluginUrl, const QStringList &argumentNames, const QStringList &argumentValues, QWidget* parent)
: QWidget(parent)
, m_url(pluginUrl)
, m_argumentNames(argumentNames)
, m_argumentValues(argumentValues)
, m_url(pluginUrl)
{
//AdBlock
AdBlockManager* manager = AdBlockManager::instance();