naturally sort the list of devices we have no fs-support for

svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1236306
This commit is contained in:
Volker Lanz 2011-06-12 09:33:11 +00:00
parent 9449938d4b
commit 8c25f446c8
2 changed files with 1 additions and 5 deletions

3
TODO
View File

@ -30,9 +30,6 @@ Bugs to fix for 1.1:
"unformatted" in the partprops fs dropdown to make the newOp not create a
file system
* the list of partitions we don't have file system support for should be
natural-sorted (sda1, sda2, sda10, sda11, not sda1, sda10, sda11, sda2)
===============================================================================
For releases after 1.1:

View File

@ -1067,8 +1067,7 @@ void MainWindow::checkFileSystemSupport()
foreach(const Device* d, operationStack().previewDevices())
supportList << checkSupportInNode(d->partitionTable());
supportList.sort();
supportList.removeDuplicates();
qSort(supportList.begin(), supportList.end(), naturalLessThan);
if (!supportList.isEmpty())
KMessageBox::information(this,