forked from qt-creator/qt-creator
Terminal: Open Link with line/column info
Change-Id: I3e70a7c33a935b7bd3e12fb903148bcd60ff55aa Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
#include "terminalsurface.h"
|
||||
|
||||
#include <utils/link.h>
|
||||
#include <utils/qtcprocess.h>
|
||||
#include <utils/terminalhooks.h>
|
||||
|
||||
@@ -59,11 +60,11 @@ public:
|
||||
|
||||
struct LinkSelection : public Selection
|
||||
{
|
||||
Utils::FilePath filePath;
|
||||
Utils::Link link;
|
||||
|
||||
bool operator!=(const LinkSelection &other) const
|
||||
{
|
||||
return filePath != other.filePath || Selection::operator!=(other);
|
||||
return link != other.link || Selection::operator!=(other);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user