diff options
Diffstat (limited to 'src/stackedurlbar.cpp')
-rw-r--r-- | src/stackedurlbar.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/stackedurlbar.cpp b/src/stackedurlbar.cpp index 18912ccd..24dafae4 100644 --- a/src/stackedurlbar.cpp +++ b/src/stackedurlbar.cpp @@ -53,22 +53,6 @@ StackedUrlBar::~StackedUrlBar() } -UrlBar *StackedUrlBar::currentUrlBar() -{ - return urlBar(currentIndex()); -} - - -UrlBar *StackedUrlBar::urlBar(int index) -{ - UrlBar *urlBar = qobject_cast<UrlBar*>(QStackedWidget::widget(index)); - if (!urlBar) - { - kWarning() << "URL bar with index" << index << "not found. Returning NULL. line:" << __LINE__; - } - - return urlBar; -} void StackedUrlBar::addUrlBar(UrlBar* urlBar) |