aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2019-01-26 10:34:38 -0500
committerKen Moore <ken@ixsystems.com>2019-01-26 10:34:38 -0500
commit159d8e678880551fd77e63509e29f6f48b733535 (patch)
tree8c4f6230bbd342d1ee706a7789932f876df52f59 /src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.h
parentFix up the minimum size of the shortcut buttons. (diff)
downloadlumina-159d8e678880551fd77e63509e29f6f48b733535.tar.gz
lumina-159d8e678880551fd77e63509e29f6f48b733535.tar.bz2
lumina-159d8e678880551fd77e63509e29f6f48b733535.zip
Try to fix the start menu search lockup.
Seems to fix it here, although I get a little bit of graphical artifacting while replacing the app menu items.
Diffstat (limited to 'src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.h')
-rw-r--r--src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.h b/src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.h
index 0a90311d..c6a2812b 100644
--- a/src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.h
+++ b/src-qt5/core/lumina-desktop/panel-plugins/systemstart/StartMenu.h
@@ -10,6 +10,7 @@
#include <QWidget>
#include <QScrollArea>
#include <QMouseEvent>
+#include <QMutex>
#include <LuminaXDG.h>
@@ -35,12 +36,13 @@ private:
QStringList favs;
QString CCat, CSearch, topsearch; //current category/search
QTimer *searchTimer;
+ QMutex searchmutex;
//Simple utility functions
//void deleteChildren(QWidget *obj); //recursive function
void ClearScrollArea(QScrollArea *area);
void SortScrollArea(QScrollArea *area);
- void do_search(QString search, bool force);
+ void do_search(QString search, bool force, Ui::StartMenu *tui);
bool promptAboutUpdates(bool &skip);
bgstack15