Gnurou / kdev-kernel

KDevelop plugin for hacking the Linux kernel
33 stars 18 forks source link

Defconfig list don't contains in subdir defconfig #11

Closed condo4 closed 11 years ago

condo4 commented 11 years ago

For platform PowerPC, in config directory, we have subfolder and config like: 44x/yosemite_defconfig

I wrote a patch to start to don't add folder in the widget list, and to add subfolder item.

diff --git a/kdevkernelconfigwidget.cpp b/kdevkernelconfigwidget.cpp index 54aed9e..f6596ac 100644 --- a/kdevkernelconfigwidget.cpp +++ b/kdevkernelconfigwidget.cpp @@ -128,8 +128,20 @@ void KDevKernelConfigWidget::archChanged (const QString &arch) KUrl pRoot(_projectRoot); pRoot.adjustPath(KUrl::AddTrailingSlash); QDir configDirs(KUrl(pRoot, QString("arch/%1/configs").arg(arch)).toLocalFile());

Gnurou commented 11 years ago

Hi, thanks for the patch but the auto-formatting ruined it and I cannot figure it out. Could you submit a pull request instead?

condo4 commented 11 years ago

Pull request submit in #12