[umbrello] [Bug 474695] New: subdirectory files not selected
Fabien R
bugzilla_noreply at kde.org
Tue Sep 19 15:40:43 BST 2023
https://bugs.kde.org/show_bug.cgi?id=474695
Bug ID: 474695
Summary: subdirectory files not selected
Classification: Applications
Product: umbrello
Version: Git
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: importer
Assignee: umbrello-devel at kde.org
Reporter: theedge456 at free.fr
Target Milestone: ---
SUMMARY
I want to import C++ code using umbrello5 git-2.37.90-09bb3b4d7
When clicking on a directory, I noticed that no files are selected on the
subdirectory even when I click on "include subdirectories".
After digging into the code, I found that this function was disabled in
umbrello/codeimpwizard/codeimpselectpage.cpp
void CodeImpSelectPage::files(const QString& path, QStringList& filters)
When debugging void CodeImpSelectPage::treeClicked(const QModelIndex& index),
I saw that rows is always 0 in this line:
int rows = indexModel->rowCount(index); # line 241
STEPS TO REPRODUCE
1. Click on Code->importing wizzard
2. Click on include subdirectories
3. Click on a directory containing hpp files.
OBSERVED RESULT
Number of files remains at 0.
The hpp files in the subdirectories are not selected.
EXPECTED RESULT
Number of files should be updated.
The hpp files in the subdirectories should be selected.
SOFTWARE/OS VERSIONS
Linux devuan: daedalus
KDE frameworks: 5.103.0
Qt Version: 5.15.8
ADDITIONAL INFORMATION
xcb window system
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list