X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/99eacd9f56acf4ad21994508ee824b1ce1594be1..2f0ceedae088158b8af24a5e94500a7d1c0edecb:/src/statusbar/statusbarspaceinfo.cpp diff --git a/src/statusbar/statusbarspaceinfo.cpp b/src/statusbar/statusbarspaceinfo.cpp index c9173b8f9..a25fa3a3e 100644 --- a/src/statusbar/statusbarspaceinfo.cpp +++ b/src/statusbar/statusbarspaceinfo.cpp @@ -22,8 +22,8 @@ #include #include -#include -#include +#include +#include #include #include @@ -33,9 +33,6 @@ StatusBarSpaceInfo::StatusBarSpaceInfo(QWidget* parent) : m_kBSize(0), m_timer(0) { - setMaximumWidth(200); - setMinimumWidth(200); // something to fix on kcapacitybar (ereslibre) - // Use a timer to update the space information. Polling is useful // here, as files can be deleted/added outside the scope of Dolphin. m_timer = new QTimer(this); @@ -52,6 +49,11 @@ void StatusBarSpaceInfo::setUrl(const KUrl& url) refresh(); } +KUrl StatusBarSpaceInfo::url() const +{ + return m_url; +} + void StatusBarSpaceInfo::showEvent(QShowEvent* event) { KCapacityBar::showEvent(event);