forked from qt-creator/qt-creator
Terminal: Coverity warning fixes
Change-Id: If96291ff6df97f7e85840eb0951cc3f4abfab0f6 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -162,7 +162,7 @@ void TerminalPane::setFocus()
|
||||
bool TerminalPane::hasFocus() const
|
||||
{
|
||||
if (const auto t = currentTerminal())
|
||||
t->hasFocus();
|
||||
return t->hasFocus();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user