mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-17 19:37:09 +02:00
Clean up from previous test
This commit is contained in:
@@ -64,13 +64,13 @@ CheckDirModel::getFileInfoResult()
|
|||||||
if ( res == "1" )
|
if ( res == "1" )
|
||||||
{
|
{
|
||||||
// Remove the hidden flag for the /Volumnes folder so all mount points are visible in the default (Q)FileSystemModel
|
// 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 );
|
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 ) );
|
showProcess->start( QString( "%1 -a v %2" ).arg( m_setFilePath ).arg( s_macVolumePath ) );
|
||||||
connect( p, SIGNAL( readyReadStandardError() ), this, SLOT( processErrorOutput() ) );
|
connect( showProcess, SIGNAL( readyReadStandardError() ), this, SLOT( processErrorOutput() ) );
|
||||||
m_shownVolumes = true;
|
m_shownVolumes = true;
|
||||||
|
|
||||||
QTimer::singleShot( 0, this, SLOT( volumeShowFinished() ) );
|
QTimer::singleShot( 25, this, SLOT( volumeShowFinished() ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
p->terminate();
|
p->terminate();
|
||||||
|
Reference in New Issue
Block a user