$END_LICENSE */
#include "autocomplete.h"
#include "suggester.h"
-#ifdef APP_MAC
+#ifdef APP_MAC_SEARCHFIELD
#include "searchlineedit_mac.h"
-#include "macutils.h"
#else
#include "searchlineedit.h"
#endif
+#ifdef APP_MAC
+#include "macutils.h"
+#endif
+
#include <QListWidget>
#ifndef QT_NO_DEBUG_OUTPUT
if (popup->isHidden()) {
itemHovering = false;
- popup->show();
+ popup->showNormal();
QTimer::singleShot(100, this, SLOT(enableItemHovering()));
}
}
void AutoComplete::hideSuggestions() {
itemHovering = false;
-#ifdef APP_MAC
+#ifdef APP_MAC_NO
mac::fadeOutWindow(popup);
#else
popup->hide();