forked from qt-creator/qt-creator
Mark unused symbols.
This commit is contained in:
@@ -78,6 +78,7 @@ TextEditorSettings::TextEditorSettings(QObject *parent)
|
||||
formatDescriptions.append(currentLineNumber);
|
||||
|
||||
formatDescriptions.append(FormatDescription(QLatin1String(C_OCCURRENCES), tr("Occurrences")));
|
||||
formatDescriptions.append(FormatDescription(QLatin1String(C_OCCURRENCES_UNUSED), tr("Unused Occurrence")));
|
||||
formatDescriptions.append(FormatDescription(QLatin1String(C_OCCURRENCES_RENAME), tr("Renaming Occurrence")));
|
||||
|
||||
// Standard categories
|
||||
@@ -155,7 +156,7 @@ void TextEditorSettings::initializeEditor(BaseTextEditor *editor)
|
||||
{
|
||||
// Connect to settings change signals
|
||||
connect(this, SIGNAL(fontSettingsChanged(TextEditor::FontSettings)),
|
||||
editor, SLOT(setFontSettingsIfVisible(TextEditor::FontSettings)));
|
||||
editor, SLOT(setFontSettingsIfVisible(TextEditor::FontSettings)));
|
||||
connect(this, SIGNAL(tabSettingsChanged(TextEditor::TabSettings)),
|
||||
editor, SLOT(setTabSettings(TextEditor::TabSettings)));
|
||||
connect(this, SIGNAL(storageSettingsChanged(TextEditor::StorageSettings)),
|
||||
@@ -164,7 +165,7 @@ void TextEditorSettings::initializeEditor(BaseTextEditor *editor)
|
||||
editor, SLOT(setDisplaySettings(TextEditor::DisplaySettings)));
|
||||
|
||||
connect(editor, SIGNAL(requestFontSize(int)),
|
||||
this, SLOT(fontSizeRequested(int)));
|
||||
this, SLOT(fontSizeRequested(int)));
|
||||
|
||||
// Apply current settings (tab settings depend on font settings)
|
||||
editor->setFontSettings(fontSettings());
|
||||
|
||||
Reference in New Issue
Block a user