forked from qt-creator/qt-creator
Fixes: Prevent help view from accepting file manager drops
RevBy: Eike
This commit is contained in:
@@ -238,6 +238,7 @@ HelpViewer::HelpViewer(QHelpEngine *engine, CentralWidget *parent)
|
|||||||
connect(page(), SIGNAL(linkHovered(QString, QString, QString)), this,
|
connect(page(), SIGNAL(linkHovered(QString, QString, QString)), this,
|
||||||
SIGNAL(highlighted(QString)));
|
SIGNAL(highlighted(QString)));
|
||||||
connect(this, SIGNAL(urlChanged(QUrl)), this, SIGNAL(sourceChanged(QUrl)));
|
connect(this, SIGNAL(urlChanged(QUrl)), this, SIGNAL(sourceChanged(QUrl)));
|
||||||
|
setAcceptDrops(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void HelpViewer::setSource(const QUrl &url)
|
void HelpViewer::setSource(const QUrl &url)
|
||||||
|
Reference in New Issue
Block a user