forked from qt-creator/qt-creator
VcsOutputWindow: Use toVariant() when storing FilePath
Amends 4edb238073
Change-Id: Ied6f2d9fd78a40f70393eae1c685198ab119e575
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -163,7 +163,7 @@ void OutputWindowPlainTextEdit::contextMenuEvent(QContextMenuEvent *event)
|
|||||||
if (repo.isFile()) {
|
if (repo.isFile()) {
|
||||||
menu->addSeparator();
|
menu->addSeparator();
|
||||||
openAction = menu->addAction(VcsOutputWindow::tr("Open \"%1\"").arg(repo.nativePath()));
|
openAction = menu->addAction(VcsOutputWindow::tr("Open \"%1\"").arg(repo.nativePath()));
|
||||||
openAction->setData(repo.absoluteFilePath().toString());
|
openAction->setData(repo.absoluteFilePath().toVariant());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
QAction *clearAction = nullptr;
|
QAction *clearAction = nullptr;
|
||||||
|
Reference in New Issue
Block a user