removed sorting of detected devices. I figured we didn't need it anymore

* src/GParted_Core.cc: removed sorting of detected devices. I figured we didn't need it anymore now 'deep_scan' is removed.
This commit is contained in:
Bart Hakvoort 2004-12-23 19:28:40 +00:00
parent 326efb8ebd
commit 5338dfae52
2 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2004-12-23 Bart Hakvoort <gparted@users.sf.net>
* src/GParted_Core.cc: removed sorting of detected devices. I figured we didn't need it anymore now 'deep_scan' is removed.
2004-12-22 Bart Hakvoort <gparted@users.sf.net> 2004-12-22 Bart Hakvoort <gparted@users.sf.net>
* configure.in: bumped to 0.0.8 * configure.in: bumped to 0.0.8

View File

@ -79,9 +79,6 @@ void GParted_Core::get_devices( std::vector<Device> & devices )
} }
close_device_and_disk( device, disk ) ; close_device_and_disk( device, disk ) ;
//and sort the devices by name.. (this prevents some very weird errors ;) )
sort( device_paths .begin( ), device_paths .end( ) ) ;
for ( unsigned int t = 0 ; t < device_paths .size( ) ; t++ ) for ( unsigned int t = 0 ; t < device_paths .size( ) ; t++ )
{ {
if ( open_device_and_disk( device_paths[ t ], device, disk, false ) ) if ( open_device_and_disk( device_paths[ t ], device, disk, false ) )