summaryrefslogtreecommitdiff
path: root/src/tabwidget.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2008-12-16 01:09:39 +0100
committerAndrea Diamantini <adjam7@gmail.com>2008-12-16 01:09:39 +0100
commitaf9623896acb241a965a7d0823e12fd099031a39 (patch)
tree1c8a455631070d29bc2526a0015cb45c8b7ab5fc /src/tabwidget.cpp
parentSome improvements in settings class.. (diff)
downloadrekonq-af9623896acb241a965a7d0823e12fd099031a39.tar.xz
Initial solution for UI resizing..
Now we can release rekonq 0.0.2 and thinking later about the problem..
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);