Make library sorting work again.
[dorian] / 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()));
     }
 }