forked from qt-creator/qt-creator
Don't try to jump to unresolved included files
It popped up an error saying the file couldn't be found. Better not show a link at all.
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
#include "Macro.h"
|
||||
|
||||
#include <QByteArray>
|
||||
#include <QFileInfo>
|
||||
#include <QList>
|
||||
#include <QMap>
|
||||
#include <QSharedPointer>
|
||||
@@ -199,6 +200,9 @@ public:
|
||||
|
||||
unsigned line() const
|
||||
{ return _line; }
|
||||
|
||||
bool resolved() const
|
||||
{ return QFileInfo(_fileName).isAbsolute(); }
|
||||
};
|
||||
|
||||
class MacroUse: public Block {
|
||||
|
||||
Reference in New Issue
Block a user