diff options
| author | Peter Penz <[email protected]> | 2007-03-06 05:33:38 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-03-06 05:33:38 +0000 |
| commit | ad01ddac1a104b8f372a98db84f123fbba65e2da (patch) | |
| tree | ee41967d81b50e8c95394429fae2c8475b74a550 /src/urlnavigator.cpp | |
| parent | a5ad4ac7e0a71e3e4f33ae31c9f36b616f3d767d (diff) | |
use QToolButton instead of QPushButton (patch submitted by Dominik Haumann)
svn path=/trunk/KDE/kdebase/apps/; revision=639795
Diffstat (limited to 'src/urlnavigator.cpp')
| -rw-r--r-- | src/urlnavigator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/urlnavigator.cpp b/src/urlnavigator.cpp index e273e76cb..52e229922 100644 --- a/src/urlnavigator.cpp +++ b/src/urlnavigator.cpp @@ -43,7 +43,7 @@ #include <QLabel> #include <QLineEdit> #include <QMouseEvent> -#include <QPushButton> +#include <QToolButton> UrlNavigator::HistoryElem::HistoryElem() : m_url(), @@ -88,9 +88,9 @@ UrlNavigator::UrlNavigator(const KUrl& url, // intialize toggle button which switches between the breadcrumb view // and the traditional view - m_toggleButton = new QPushButton(); + m_toggleButton = new QToolButton(); m_toggleButton->setCheckable(true); - m_toggleButton->setFlat(true); + m_toggleButton->setAutoRaise(true); m_toggleButton->setIcon(KIcon("locationbar_erase")); // TODO: is just a placeholder icon m_toggleButton->setFocusPolicy(Qt::NoFocus); m_toggleButton->setMinimumHeight(minimumHeight()); |
