summaryrefslogtreecommitdiff
path: root/src/tabwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabwidget.cpp')
-rw-r--r--src/tabwidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tabwidget.cpp b/src/tabwidget.cpp
index 46724e1e..24aacfff 100644
--- a/src/tabwidget.cpp
+++ b/src/tabwidget.cpp
@@ -41,6 +41,7 @@
TabBar::TabBar(QWidget *parent)
: KTabBar(parent)
{
+ setElideMode(Qt::ElideRight);
setContextMenuPolicy(Qt::CustomContextMenu);
setAcceptDrops(true);
connect(this, SIGNAL(customContextMenuRequested(const QPoint &)), this, SLOT(contextMenuRequested(const QPoint &)));
@@ -495,7 +496,7 @@ WebView *TabWidget::newTab(bool makeCurrent)
connect(this, SIGNAL(currentChanged(int)), this, SLOT(currentChanged(int)));
return 0;
}
-
+
// webview
WebView *webView = new WebView;
urlLineEdit->setWebView(webView);