diff options
Diffstat (limited to 'logic/lists/JavaVersionList.cpp')
-rw-r--r-- | logic/lists/JavaVersionList.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/logic/lists/JavaVersionList.cpp b/logic/lists/JavaVersionList.cpp index 5389c4cc..3dc1969b 100644 --- a/logic/lists/JavaVersionList.cpp +++ b/logic/lists/JavaVersionList.cpp @@ -20,7 +20,7 @@ #include <QtXml> #include <QRegExp> -#include <logger/QsLog.h> +#include "logger/QsLog.h" #include <logic/JavaUtils.h> JavaVersionList::JavaVersionList(QObject *parent) : BaseVersionList(parent) @@ -32,7 +32,6 @@ Task *JavaVersionList::getLoadTask() return new JavaListLoadTask(this); } - const BaseVersionPtr JavaVersionList::at(int i) const { return m_vlist.at(i); @@ -187,11 +186,11 @@ void JavaListLoadTask::executeTask() QList<JavaVersionPtr> javas = ju.FindJavaPaths(); QList<BaseVersionPtr> javas_bvp; - for(int i = 0; i < javas.length(); i++) + for (int i = 0; i < javas.length(); i++) { BaseVersionPtr java = std::dynamic_pointer_cast<BaseVersion>(javas.at(i)); - if(java) + if (java) { javas_bvp.append(java); } |