diff --git a/src/VM.cpp b/src/VM.cpp index 3a3fe5d..6560372 100644 --- a/src/VM.cpp +++ b/src/VM.cpp @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include @@ -3599,21 +3600,14 @@ bool Virtual_Machine::Load_VM( const QString &file_name ) << "/usr/local/share/aqemu/"; QSettings settings; - bool abs_found = false; for ( int i = 0; i < dataDirs.count(); i++ ) { if ( Icon_Path.startsWith(dataDirs.at(i)) ) { Icon_Path.replace(dataDirs.at(i),settings.value( "AQEMU_Data_Folder","").toString()); - abs_found = true; break; } } - - if ( ! abs_found ) - { - Icon_Path = settings.value( "AQEMU_Data_Folder","").toString() + Icon_Path; - } } // Screenshot Path