Commit 9369726e authored by camilo higuita's avatar camilo higuita

plasmo fixes

parent aea08c85
...@@ -74,7 +74,7 @@ public slots: ...@@ -74,7 +74,7 @@ public slots:
QStringList urls; QStringList urls;
for(auto path : paths) for(const auto &path : paths)
if (QFileInfo(path).isDir()) if (QFileInfo(path).isDir())
{ {
QDirIterator it(path, FMH::FILTER_LIST[FMH::FILTER_TYPE::IMAGE], QDir::Files, QDirIterator::Subdirectories); QDirIterator it(path, FMH::FILTER_LIST[FMH::FILTER_TYPE::IMAGE], QDir::Files, QDirIterator::Subdirectories);
......
...@@ -29,10 +29,13 @@ StackView ...@@ -29,10 +29,13 @@ StackView
headBar.visible: false headBar.visible: false
footBar.drawBorder: false footBar.drawBorder: false
footBar.middleContent: Maui.TextField headBar.middleContent: Maui.TextField
{ {
// Layout.fillWidth: true
// Layout.margins: space.medium
// Layout.fillWidth: true
placeholderText: qsTr("Filter...") placeholderText: qsTr("Filter...")
width: foldersPage.footBar.middleLayout.width * 0.9 // width: foldersPage.footBar.middleLayout.width * 0.9
onAccepted: filter(text) onAccepted: filter(text)
onCleared: populate() onCleared: populate()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment