forked from qt-creator/qt-creator
CompilerExplorer: remove unused function
Change-Id: I5f32f7b9f9f56a10c8c3e02ef2d4495a20d82e33 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -185,7 +185,6 @@ class SourceEditorWidget : public QWidget
|
||||
public:
|
||||
SourceEditorWidget(const std::shared_ptr<SourceSettings> &settings, QUndoStack *undoStack);
|
||||
|
||||
QString sourceCode();
|
||||
SourceSettings *sourceSettings() { return m_sourceSettings.get(); }
|
||||
|
||||
void focusInEvent(QFocusEvent *) override { emit gotFocus(); }
|
||||
@@ -522,13 +521,6 @@ SourceEditorWidget::SourceEditorWidget(const std::shared_ptr<SourceSettings> &se
|
||||
setFocusProxy(m_codeEditor);
|
||||
}
|
||||
|
||||
QString SourceEditorWidget::sourceCode()
|
||||
{
|
||||
if (m_codeEditor && m_codeEditor->textDocument())
|
||||
return QString::fromUtf8(m_codeEditor->textDocument()->contents());
|
||||
return {};
|
||||
}
|
||||
|
||||
void SourceEditorWidget::markSourceLocation(
|
||||
const std::optional<Api::CompileResult::AssemblyLine> &assemblyLine)
|
||||
{
|
||||
|
Reference in New Issue
Block a user