summaryrefslogtreecommitdiff
path: root/src/zoombar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zoombar.cpp')
-rw-r--r--src/zoombar.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/zoombar.cpp b/src/zoombar.cpp
index bb4b3085..64c32b8b 100644
--- a/src/zoombar.cpp
+++ b/src/zoombar.cpp
@@ -52,10 +52,10 @@
ZoomBar::ZoomBar(QWidget *parent)
: QWidget(parent)
- ,m_zoomIn(new QToolButton(this))
- ,m_zoomOut(new QToolButton(this))
- ,m_zoomNormal(new QToolButton(this))
- ,m_zoomSlider(new QSlider(Qt::Horizontal, this))
+ , m_zoomIn(new QToolButton(this))
+ , m_zoomOut(new QToolButton(this))
+ , m_zoomNormal(new QToolButton(this))
+ , m_zoomSlider(new QSlider(Qt::Horizontal, this))
{
QHBoxLayout *layout = new QHBoxLayout;
@@ -198,7 +198,7 @@ void ZoomBar::toggleVisibility()
void ZoomBar::saveZoomValue(const QString &host, int value)
{
KSharedConfig::Ptr config = KGlobal::config();
- KConfigGroup group( config, "Zoom" );
- group.writeEntry(host, QString::number(value) );
+ KConfigGroup group(config, "Zoom");
+ group.writeEntry(host, QString::number(value));
config->sync();
}