1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

run coding_style.sh

This commit is contained in:
Franz Fellner 2012-09-10 15:11:24 +02:00
parent 5ca9b8b21a
commit d70894866b

View File

@ -49,7 +49,8 @@ BookmarksWidget::BookmarksWidget(QupZilla* mainClass, WebView* view, QWidget* pa
if (m_bookmarkId > 0) { if (m_bookmarkId > 0) {
connect(ui->saveRemove, SIGNAL(clicked()), this, SLOT(removeBookmark())); connect(ui->saveRemove, SIGNAL(clicked()), this, SLOT(removeBookmark()));
ui->saveRemove->setText(tr("Remove")); ui->saveRemove->setText(tr("Remove"));
} else { }
else {
connect(ui->saveRemove, SIGNAL(clicked()), this, SLOT(saveBookmark())); connect(ui->saveRemove, SIGNAL(clicked()), this, SLOT(saveBookmark()));
} }
connect(ui->speeddialButton, SIGNAL(clicked()), this, SLOT(toggleSpeedDial())); connect(ui->speeddialButton, SIGNAL(clicked()), this, SLOT(toggleSpeedDial()));
@ -87,7 +88,8 @@ void BookmarksWidget::loadBookmark()
ui->name->setEnabled(false); ui->name->setEnabled(false);
ui->folder->setEnabled(false); ui->folder->setEnabled(false);
} else { }
else {
ui->name->setText(m_view->title()); ui->name->setText(m_view->title());
ui->folder->setCurrentIndex(0); ui->folder->setCurrentIndex(0);
} }
@ -95,7 +97,8 @@ void BookmarksWidget::loadBookmark()
ui->name->setCursorPosition(0); ui->name->setCursorPosition(0);
} }
namespace { namespace
{
const int hideDelay = 270; const int hideDelay = 270;
} }