summaryrefslogtreecommitdiff
path: root/src/zoombar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zoombar.cpp')
-rw-r--r--src/zoombar.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zoombar.cpp b/src/zoombar.cpp
index 9dcf5e72..95a2c250 100644
--- a/src/zoombar.cpp
+++ b/src/zoombar.cpp
@@ -122,7 +122,7 @@ void ZoomBar::setupActions(MainWindow *window)
void ZoomBar::show()
{
// show findbar if not visible
- if(isHidden())
+ if (isHidden())
{
emit visibilityChanged(true);
QWidget::show();
@@ -159,10 +159,10 @@ void ZoomBar::zoomNormal()
void ZoomBar::updateSlider(int webview)
{
WebTab *tab = 0;
- if(!rApp->mainWindowList().isEmpty())
+ if (!rApp->mainWindowList().isEmpty())
tab = rApp->mainWindow()->mainView()->webTab(webview);
- if(!tab)
+ if (!tab)
return;
m_zoomSlider->setValue(tab->view()->zoomFactor() * 10);