- fix build after merge

This commit is contained in:
Alfred Reynolds
2021-08-03 09:18:34 +12:00
parent c3086ab4ce
commit e09c4d4f9f
2 changed files with 4 additions and 4 deletions

View File

@@ -50,7 +50,7 @@ int ImageSelector::getImageRotation(const std::string& fileName)
return degrees;
}
bool ImageSelector::imageMatchesFilter(const std::string& fileName, int rotation)
bool ImageSelector::imageMatchesFilter(const std::string& fileName, const int rotation)
{
if(!QFileInfo::exists(QString(fileName.c_str())))
{
@@ -200,8 +200,8 @@ void ShuffleImageSelector::reloadImagesIfNoneLeft()
}
}
SortedImageSelector::SortedImageSelector(std::unique_ptr<PathTraverser>& pathTraverser, char aspect):
ImageSelector(pathTraverser, aspect),
SortedImageSelector::SortedImageSelector(std::unique_ptr<PathTraverser>& pathTraverser, char aspect, bool fitAspectAxisToWindow):
ImageSelector(pathTraverser, aspect, fitAspectAxisToWindow),
images()
{
srand (time(NULL));