MCPcopy Create free account
hub / github.com/cloose/CuteMarkEd / insertFromMimeData

Method insertFromMimeData

app/markdowneditor.cpp:217–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217void MarkdownEditor::insertFromMimeData(const QMimeData *source)
218{
219 if (isUrlToLocalFile(source)) {
220 emit loadDroppedFile(source->urls().first().toLocalFile());
221 } else {
222 QPlainTextEdit::insertFromMimeData(source);
223 }
224}
225
226void MarkdownEditor::updateLineNumberAreaWidth(int newBlockCount)
227{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected