Commit eb83c1fd authored by Milian Wolff's avatar Milian Wolff

implement new binaryPath

parent f297c953
......@@ -21,6 +21,8 @@
#include <QStringList>
#include <KLocalizedString>
#include <QApplication>
KDevIDEExtension::KDevIDEExtension()
: ShellExtension()
{
......@@ -36,6 +38,11 @@ QString KDevIDEExtension::xmlFile()
return "kdevelopui.rc";
}
QString KDevIDEExtension::binaryPath()
{
return QApplication::applicationDirPath() + "/kdevelop";
}
KDevelop::AreaParams KDevIDEExtension::defaultArea()
{
KDevelop::AreaParams params = {"code", i18n("Code")};
......
......@@ -27,6 +27,7 @@ public:
static void init();
virtual QString xmlFile();
virtual QString binaryPath();
virtual KDevelop::AreaParams defaultArea();
virtual QString projectFileExtension();
virtual QString projectFileDescription();
......
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