Make library sorting work again.
authorAkos Polster <akos@pipacs.com>
Fri, 19 Nov 2010 23:36:45 +0000 (00:36 +0100)
committerAkos Polster <akos@pipacs.com>
Fri, 19 Nov 2010 23:36:45 +0000 (00:36 +0100)
widgets/listwindow.cpp

index 59e88c9..b0691bc 100644 (file)
@@ -84,6 +84,7 @@ void ListWindow::setModel(QAbstractItemModel *aModel)
                 this, SLOT(populateList()));
         connect(mModel, SIGNAL(rowsInserted(QModelIndex, int, int)),
                 this, SLOT(populateList()));
+        connect(mModel, SIGNAL(layoutChanged()), this, SLOT(populateList()));
     }
 }