Fixed: Compile error
This commit is contained in:
parent
d8c211db8e
commit
5c8ba72685
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ namespace GeorgesQt
|
||||||
QPoint globalPos = this->mapToGlobal(pos);
|
QPoint globalPos = this->mapToGlobal(pos);
|
||||||
|
|
||||||
// Fisrt we're going to see if we've right clicked on a new item and select it.
|
// Fisrt we're going to see if we've right clicked on a new item and select it.
|
||||||
QModelIndex &index = this->m_ui.treeView->currentIndex();
|
const QModelIndex &index = this->m_ui.treeView->currentIndex();
|
||||||
|
|
||||||
if(!index.isValid())
|
if(!index.isValid())
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue