From 069b3f9239c93dfca4baad49c81e95aa2ab1d3bd Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Sat, 5 Jan 2013 23:05:21 +0100 Subject: [PATCH] qt5: ifdef QFileSystemModel::reset() out, an equivalent in Qt5 seems to be missing --- src/libtomahawk/widgets/CheckDirTree.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libtomahawk/widgets/CheckDirTree.cpp b/src/libtomahawk/widgets/CheckDirTree.cpp index 384cddca2..34563d031 100644 --- a/src/libtomahawk/widgets/CheckDirTree.cpp +++ b/src/libtomahawk/widgets/CheckDirTree.cpp @@ -89,7 +89,10 @@ CheckDirModel::getFileInfoResult() void CheckDirModel::volumeShowFinished() { +#if ! QT_VERSION >= QT_VERSION_CHECK( 5, 0, 0 ) +//FIXME: this has no equivalent in Qt5, does it just work there? reset(); +#endif #ifdef Q_OS_MAC // Make sure /Volumes is there, if not wait and try again