Permalink
Browse files

Make sure the snapshot list is order by time, not name

  • Loading branch information...
1 parent 14e4d7e commit 4e117af3bb1e86a6583a79d526db2317344951f4 Ken Moore committed Aug 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src-qt4/life-preserver/LPBackend.cpp
@@ -71,7 +71,7 @@ QStringList LPBackend::listSnapshots(QString dsmountpoint){
QDir dir(dsmountpoint+"/.zfs/snapshot");
QStringList list;
if(dir.exists()){
- list = dir.entryList(QDir::Dirs | QDir::NoDotAndDotDot, QDir::Name | QDir::Reversed);
+ list = dir.entryList(QDir::Dirs | QDir::NoDotAndDotDot, QDir::Time | QDir::Reversed);
}
return list;
}

0 comments on commit 4e117af

Please sign in to comment.