Changeset View
Changeset View
Standalone View
Standalone View
projectmanagers/cmake/cmakemanager.cpp
Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Line(s) | |||||
80 | 80 | | |||
81 | const QString DIALOG_CAPTION = i18n("KDevelop - CMake Support"); | 81 | const QString DIALOG_CAPTION = i18n("KDevelop - CMake Support"); | ||
82 | 82 | | |||
83 | CMakeManager::CMakeManager( QObject* parent, const QVariantList& ) | 83 | CMakeManager::CMakeManager( QObject* parent, const QVariantList& ) | ||
84 | : KDevelop::AbstractFileManagerPlugin( "kdevcmakemanager", parent ) | 84 | : KDevelop::AbstractFileManagerPlugin( "kdevcmakemanager", parent ) | ||
85 | , m_filter( new ProjectFilterManager( this ) ) | 85 | , m_filter( new ProjectFilterManager( this ) ) | ||
86 | { | 86 | { | ||
87 | if (CMake::findExecutable().isEmpty()) { | 87 | if (CMake::findExecutable().isEmpty()) { | ||
88 | setErrorDescription(i18n("Unable to find cmake executable. Is it installed on the system?")); | 88 | setErrorDescription(i18n("Unable to find a CMake executable. Is one installed on the system?")); | ||
89 | m_highlight = nullptr; | 89 | m_highlight = nullptr; | ||
90 | return; | 90 | return; | ||
91 | } | 91 | } | ||
92 | 92 | | |||
93 | m_highlight = new KDevelop::CodeHighlighting(this); | 93 | m_highlight = new KDevelop::CodeHighlighting(this); | ||
94 | 94 | | |||
95 | new CodeCompletion(this, new CMakeCodeCompletionModel(this), name()); | 95 | new CodeCompletion(this, new CMakeCodeCompletionModel(this), name()); | ||
96 | 96 | | |||
▲ Show 20 Lines • Show All 786 Lines • Show Last 20 Lines |