Skip to content
  • Thorbjørn Lindeijer's avatar
    Dropping files into the editor shouldn't insert file:///... · 6d9e3c8a
    Thorbjørn Lindeijer authored
    On some desktop environments, dragging and dropping a file gives us
    the url to the file in multiple mime types, including text/plain. This
    causes the url to be inserted as text by default.
    
    Work around this issue by explicitly ignoring drop events for the text
    editor when they also come with urls.
    
    Task-number: QTCREATORBUG-728
    Reviewed-by: Friedemann Kleint
    6d9e3c8a