tdefile: autocalculate folder size in KPropertiesDialog only for real local items.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/190/head
Michele Calgaro 2 years ago
parent e13b91d5e4
commit 9189a0e97f
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1030,8 +1030,8 @@ KFilePropsPlugin::KFilePropsPlugin( KPropertiesDialog *_props )
sizelay->addWidget(m_sizeStopButton, 0); sizelay->addWidget(m_sizeStopButton, 0);
sizelay->addStretch(10); // so that the buttons don't grow horizontally sizelay->addStretch(10); // so that the buttons don't grow horizontally
// auto-launch for local dirs only, and not for '/' // auto-launch for local dirs only, but not for '/' or medias
if ( isLocal && !hasRoot ) if ( isReallyLocal && !hasRoot )
{ {
m_sizeDetermineButton->setText( i18n("Refresh") ); m_sizeDetermineButton->setText( i18n("Refresh") );
slotSizeDetermine(); slotSizeDetermine();

Loading…
Cancel
Save