build: Fixed build for Linux
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
#include "data/parser/cxx/CanonicalFilePathCache.h"
|
||||
|
||||
#include "utility/file/FilePath.h"
|
||||
#include "utility/utilityString.h"
|
||||
#include "data/parser/cxx/utilityClang.h"
|
||||
|
||||
|
||||
@@ -5,8 +5,7 @@
|
||||
#include <unordered_map>
|
||||
|
||||
#include "clang/Basic/FileManager.h"
|
||||
|
||||
class FilePath;
|
||||
#include "utility/file/FilePath.h"
|
||||
|
||||
class CanonicalFilePathCache
|
||||
{
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
#include "data/parser/cxx/name_resolver/CxxNameResolver.h"
|
||||
|
||||
class CanonicalFilePathCache;
|
||||
class FilePath;
|
||||
|
||||
class CxxDeclNameResolver: public CxxNameResolver
|
||||
{
|
||||
|
||||
@@ -626,6 +626,11 @@ void QtSmartSearchBox::onElementSelected(QtSearchElement* element)
|
||||
return;
|
||||
}
|
||||
|
||||
if (!hasFocus())
|
||||
{
|
||||
setFocus();
|
||||
}
|
||||
|
||||
if (!hasSelectedElements() && !m_shiftKeyDown)
|
||||
{
|
||||
editElement(element);
|
||||
|
||||
Reference in New Issue
Block a user