build script
This commit is contained in:
parent
3ef18ff672
commit
b091ef635e
@ -66,7 +66,7 @@ else
|
|||||||
aqt install-tool -O "$QTPATH" "$QTTARGET" "desktop" "tools_ninja"
|
aqt install-tool -O "$QTPATH" "$QTTARGET" "desktop" "tools_ninja"
|
||||||
|
|
||||||
export QT_PLUGIN_PATH="$QTPATH/$QTVERSION/$QTOS/plugins"
|
export QT_PLUGIN_PATH="$QTPATH/$QTVERSION/$QTOS/plugins"
|
||||||
export PATH="$QTBIN:$QTPATH/Tools/CMake/bin:$QTPATH/Tools/Ninja:$PATH"
|
export PATH="$QTBIN:$QTPATH/Tools/CMake/CMake.app/Contents/bin:$QTPATH/Tools/Ninja:$PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cmake --version
|
cmake --version
|
||||||
|
@ -61,6 +61,21 @@ QList<QAction*> SearchsNode::contextMenuFeedsList() {
|
|||||||
return QList<QAction*>{m_actProbeNew};
|
return QList<QAction*>{m_actProbeNew};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SearchsNode::updateCounts(bool including_total_count) {
|
||||||
|
Q_UNUSED(including_total_count)
|
||||||
|
|
||||||
|
// NOTE: We do not update all counts here because it is simply taking too much time.
|
||||||
|
// This is true when user has many regex queries added because SQLite (MariaDB) simply
|
||||||
|
// takes too long to finish SQL queries with REGEXPs.
|
||||||
|
//
|
||||||
|
// We only update one by one.
|
||||||
|
if (childCount() <= 10) {
|
||||||
|
RootItem::updateCounts(including_total_count);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void SearchsNode::createProbe() {
|
void SearchsNode::createProbe() {
|
||||||
FormAddEditProbe frm(qApp->mainFormWidget());
|
FormAddEditProbe frm(qApp->mainFormWidget());
|
||||||
Search* new_prb = frm.execForAdd();
|
Search* new_prb = frm.execForAdd();
|
||||||
|
@ -18,6 +18,7 @@ class SearchsNode : public RootItem {
|
|||||||
|
|
||||||
virtual QList<Message> undeletedMessages() const;
|
virtual QList<Message> undeletedMessages() const;
|
||||||
virtual QList<QAction*> contextMenuFeedsList();
|
virtual QList<QAction*> contextMenuFeedsList();
|
||||||
|
virtual void updateCounts(bool including_total_count);
|
||||||
|
|
||||||
Search* probeById(const QString& custom_id);
|
Search* probeById(const QString& custom_id);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user