From 3c3078f9f87d5c08090508117614e5d3573177b1 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Wed, 29 Feb 2012 17:45:20 -0500 Subject: [PATCH] Clean up from previous test --- src/libtomahawk/widgets/checkdirtree.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libtomahawk/widgets/checkdirtree.cpp b/src/libtomahawk/widgets/checkdirtree.cpp index 3ffa484d5..84db2826b 100644 --- a/src/libtomahawk/widgets/checkdirtree.cpp +++ b/src/libtomahawk/widgets/checkdirtree.cpp @@ -64,13 +64,13 @@ CheckDirModel::getFileInfoResult() if ( res == "1" ) { // Remove the hidden flag for the /Volumnes folder so all mount points are visible in the default (Q)FileSystemModel - QProcess* p = new QProcess( this ); + QProcess* showProcess = new QProcess( this ); qDebug() << "Running SetFile:" << QString( "%1 -a v %2" ).arg( m_setFilePath ).arg( s_macVolumePath ); - p->start( QString( "%1 -a v %2" ).arg( m_setFilePath ).arg( s_macVolumePath ) ); - connect( p, SIGNAL( readyReadStandardError() ), this, SLOT( processErrorOutput() ) ); + showProcess->start( QString( "%1 -a v %2" ).arg( m_setFilePath ).arg( s_macVolumePath ) ); + connect( showProcess, SIGNAL( readyReadStandardError() ), this, SLOT( processErrorOutput() ) ); m_shownVolumes = true; - QTimer::singleShot( 0, this, SLOT( volumeShowFinished() ) ); + QTimer::singleShot( 25, this, SLOT( volumeShowFinished() ) ); } p->terminate();