- fix build after merge
This commit is contained in:
@@ -50,7 +50,7 @@ int ImageSelector::getImageRotation(const std::string& fileName)
|
|||||||
return degrees;
|
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())))
|
if(!QFileInfo::exists(QString(fileName.c_str())))
|
||||||
{
|
{
|
||||||
@@ -200,8 +200,8 @@ void ShuffleImageSelector::reloadImagesIfNoneLeft()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SortedImageSelector::SortedImageSelector(std::unique_ptr<PathTraverser>& pathTraverser, char aspect):
|
SortedImageSelector::SortedImageSelector(std::unique_ptr<PathTraverser>& pathTraverser, char aspect, bool fitAspectAxisToWindow):
|
||||||
ImageSelector(pathTraverser, aspect),
|
ImageSelector(pathTraverser, aspect, fitAspectAxisToWindow),
|
||||||
images()
|
images()
|
||||||
{
|
{
|
||||||
srand (time(NULL));
|
srand (time(NULL));
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
int getImageRotation(const std::string &fileName);
|
int getImageRotation(const std::string &fileName);
|
||||||
bool imageValidForAspect(const std::string &fileName, const int rotation);
|
bool imageValidForAspect(const std::string &fileName, const int rotation);
|
||||||
bool imageMatchesFilter(const std::string& fileName);
|
bool imageMatchesFilter(const std::string& fileName, const int rotation);
|
||||||
std::unique_ptr<PathTraverser>& pathTraverser;
|
std::unique_ptr<PathTraverser>& pathTraverser;
|
||||||
char aspect;
|
char aspect;
|
||||||
bool fitAspectAxisToWindow = false;
|
bool fitAspectAxisToWindow = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user