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 1 year 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->addStretch(10); // so that the buttons don't grow horizontally
// auto-launch for local dirs only, and not for '/'
if ( isLocal && !hasRoot )
// auto-launch for local dirs only, but not for '/' or medias
if ( isReallyLocal && !hasRoot )
{
m_sizeDetermineButton->setText( i18n("Refresh") );
slotSizeDetermine();

Loading…
Cancel
Save