Unsolved Filter function is not working
-
This post is deleted! -
@Paulus_rin What exactly does not work?
Is myList empty?
Does myList.filter not work? If so - how does the regular expression look like? -
@jsulm the problem is that the groceries are not shown in the listWidget.
myList.filter is not working too, because there is nothing in itthis is in my header file
"private:
Ui::Lebensmittelsuche *ui;QStringList myList;"
And with
"myList = myPath.entryList();"
I thought that myList is filled with all the groceries , because I showed him "myPath".But Im new to Qt, maybe there is an easier way to implement something likely
-
@Paulus_rin said in Filter function is not working:
I thought that myList is filled with all the groceries , because I showed him "myPath".
It is really not clear what you're writing. So, does myList contain anything after "myList = myPath.entryList();" or not?