mirror of
https://github.com/epasveer/seer.git
synced 2026-08-31 01:20:45 +08:00
Add a 'isEmpty' function.
This commit is contained in:
@@ -76,6 +76,11 @@ QStringList SeerCatchpointsBrowserWidget::catchpointsText () const {
|
||||
return catchpointList;
|
||||
}
|
||||
|
||||
bool SeerCatchpointsBrowserWidget::isEmpty() const {
|
||||
|
||||
return (catchpointsTreeWidget->topLevelItemCount() == 0);
|
||||
}
|
||||
|
||||
void SeerCatchpointsBrowserWidget::handleText (const QString& text) {
|
||||
|
||||
// Don't do any work if the widget is hidden.
|
||||
|
||||
Reference in New Issue
Block a user