summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2014-01-22 16:34:33 (GMT)
committerChristoph Cullmann <cullmann@kde.org>2014-01-22 16:34:33 (GMT)
commit782ec7fd896293b49c92eb3b05acda3410d38e16 (patch)
treebcf9e047b253e942fd5021b265a7c5e4422fefea
parentcd056e8eda8e197eecffb57bd1b05e3930aad98d (diff)
no resize between status bar, goto line and internal command line
-rw-r--r--src/dialogs/katedialogs.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dialogs/katedialogs.cpp b/src/dialogs/katedialogs.cpp
index de161b1..c624f63 100644
--- a/src/dialogs/katedialogs.cpp
+++ b/src/dialogs/katedialogs.cpp
@@ -1326,17 +1326,17 @@ KateGotoBar::KateGotoBar(KTextEditor::View *view, QWidget *parent)
QLabel *label = new QLabel(i18n("&Go to line:"), centralWidget());
label->setBuddy(gotoRange);
- /* QPushButton *btnOK = new QPushButton(centralWidget());
- btnOK->setFlat(true);
+ QToolButton *btnOK = new QToolButton(centralWidget());
+ btnOK->setAutoRaise(true);
btnOK->setIcon(SmallIcon(QLatin1String("go-jump")));
btnOK->setText(i18n("Go"));
- // btnOK->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
+ btnOK->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
connect(btnOK, SIGNAL(clicked()), this, SLOT(gotoLine()));
-*/
+
topLayout->addWidget(label);
topLayout->addWidget(gotoRange, 1);
topLayout->setStretchFactor(gotoRange, 0);
- // topLayout->addWidget(btnOK);
+ topLayout->addWidget(btnOK);
topLayout->addStretch();
setFocusProxy(gotoRange);