diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-12-12 18:47:35 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-12-12 18:47:35 +0100 |
commit | a1b660daae9dd252d84ec44e8a5102277539b395 (patch) | |
tree | c4cfc40343592860e985437fb672389719125715 /src/webtab/webtab.cpp | |
parent | getSaveFileName --> getSaveUrl (diff) | |
download | rekonq-a1b660daae9dd252d84ec44e8a5102277539b395.tar.xz |
- Code style check (codestyle script round)
- restored CTRL + ENTER code
- applied Vedant's patch about (thanks!!!)
CCMAIL: vedant.kota@gmail.com
REVIEW: 107662
REVIEWED-BY: Tirtha and me
Diffstat (limited to 'src/webtab/webtab.cpp')
-rw-r--r-- | src/webtab/webtab.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/webtab/webtab.cpp b/src/webtab/webtab.cpp index 2622a96a..1d80198c 100644 --- a/src/webtab/webtab.cpp +++ b/src/webtab/webtab.cpp @@ -86,15 +86,15 @@ WebTab::WebTab(QWidget *parent) // NOTE: this line of code moves the web inspector in the usual position, // BUT my wife prefers it on the right part. Following hint about. - // Let's hear people comments about... + // Let's hear people comments about... // m_splitter->setOrientation(Qt::Vertical); - + l->addWidget(m_splitter); // fix focus handling setFocusProxy(view()); - + KWebWallet *wallet = page()->wallet(); if (wallet) @@ -116,7 +116,7 @@ WebTab::WebTab(QWidget *parent) connect(view(), SIGNAL(titleChanged(QString)), this, SLOT(webAppTitleChanged(QString))); connect(view(), SIGNAL(iconChanged()), this, SLOT(webAppIconChanged())); } - + // Session Manager connect(view(), SIGNAL(loadFinished(bool)), SessionManager::self(), SLOT(saveSession())); } @@ -306,7 +306,7 @@ void WebTab::setPart(KParts::ReadOnlyPart *p, const KUrl &u) void WebTab::showCrashMessageBar() { CrashMessageBar *msgBar = new CrashMessageBar(i18n("It seems rekonq was not closed properly. Do you want " - "to restore the last saved session?"), this); + "to restore the last saved session?"), this); qobject_cast<QVBoxLayout *>(layout())->insertWidget(0, msgBar); msgBar->animatedShow(); @@ -383,9 +383,9 @@ void WebTab::zoomIn() emit infoToShow(i18n("Max zoom reached: ") + QString::number(m_zoomFactor * 10) + QL1S("%")); return; } - + if (m_zoomFactor >= 20) - m_zoomFactor+=5; + m_zoomFactor += 5; else m_zoomFactor++; @@ -451,9 +451,9 @@ void WebTab::toggleInspector(bool on) m_inspector.data()->show(); return; - } + } // else - + m_inspector.data()->hide(); page()->settings()->setAttribute(QWebSettings::DeveloperExtrasEnabled, on); |