Commit f5e7fb9c authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer

Corrected name of .config editor

parent 7248f9a0
......@@ -46,13 +46,10 @@ QKeySequence INavigationWidgetFactory::activationSequence()
return QKeySequence();
}
void INavigationWidgetFactory::saveSettings(int /* position */, QWidget * /* widget */)
{
}
void INavigationWidgetFactory::restoreSettings(int /* position */, QWidget * /* widget */)
{
}
......@@ -269,7 +269,7 @@ void CppHoverHandler::updateHelpIdAndTooltip(TextEditor::ITextEditor *editor, in
const Snapshot documents = m_modelManager->snapshot();
const QString fileName = editor->file()->fileName();
Document::Ptr doc = documents.value(fileName);
if (! doc)
if (!doc)
return; // nothing to do
QTextCursor tc(edit->document());
......
......@@ -49,7 +49,7 @@ const char *const FILES_MIMETYPE = "application/vnd.nokia.qt.generic.files";
const char *const INCLUDES_EDITOR = ".includes Editor";
const char *const INCLUDES_MIMETYPE = "application/vnd.nokia.qt.generic.includes";
const char *const CONFIG_EDITOR = ".includes Editor";
const char *const CONFIG_EDITOR = ".config Editor";
const char *const CONFIG_MIMETYPE = "application/vnd.nokia.qt.generic.config";
} // namespace Constants
......
......@@ -36,14 +36,15 @@
namespace ProjectExplorer {
namespace Internal {
class BuildConfiguration
{
public:
BuildConfiguration(const QString &name);
BuildConfiguration(const QString &name, BuildConfiguration *source);
QString name() const;
QVariant getValue(const QString & key) const;
void setValue(const QString & key, QVariant value);
QVariant getValue(const QString &key) const;
void setValue(const QString &key, QVariant value);
QString displayName();
void setDisplayName(const QString &name);
......@@ -55,6 +56,7 @@ private:
QHash<QString, QVariant> m_values;
QString m_name;
};
}
} // namespace ProjectExplorer
......
......@@ -192,7 +192,7 @@ QList<CompletionItem> CompletionSupport::getCompletions() const
QString lastKey;
QList<CompletionItem> uniquelist;
foreach (const CompletionItem item, completionItems) {
foreach (const CompletionItem &item, completionItems) {
if (item.m_text != lastKey) {
uniquelist.append(item);
lastKey = item.m_text;
......
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