forked from qt-creator/qt-creator
Debugger: remove isEditorDebuggable
It was returning 'true' unconditionally for a while. Change-Id: Ia99bdb3c525641f757dacbba148b68d677f4d632 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -145,16 +145,6 @@ QDebug operator<<(QDebug d, const Scope &scope)
|
||||
namespace Debugger {
|
||||
namespace Internal {
|
||||
|
||||
bool isEditorDebuggable(Core::IEditor *editor)
|
||||
{
|
||||
// Only blacklist Qml. Whitelisting would fail on C++ code in files
|
||||
// with strange names, more harm would be done this way.
|
||||
// IDocument *file = editor->document();
|
||||
// return !(file && file->mimeType() == "application/x-qml");
|
||||
// Nowadays, even Qml is debuggable.
|
||||
return editor;
|
||||
}
|
||||
|
||||
QByteArray dotEscape(QByteArray str)
|
||||
{
|
||||
str.replace(' ', '.');
|
||||
|
||||
Reference in New Issue
Block a user