From 5338dfae52d35b0270006a829b30c889d1108622 Mon Sep 17 00:00:00 2001 From: Bart Hakvoort Date: Thu, 23 Dec 2004 19:28:40 +0000 Subject: [PATCH] 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. --- ChangeLog | 4 ++++ src/GParted_Core.cc | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index ab690c89..e884cb28 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-12-23 Bart Hakvoort + + * 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 * configure.in: bumped to 0.0.8 diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc index fd6675c5..289d4f4e 100644 --- a/src/GParted_Core.cc +++ b/src/GParted_Core.cc @@ -79,9 +79,6 @@ void GParted_Core::get_devices( std::vector & devices ) } 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++ ) { if ( open_device_and_disk( device_paths[ t ], device, disk, false ) )