aboutsummaryrefslogtreecommitdiff
path: root/src/SearchBar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/SearchBar.cpp')
-rw-r--r--src/SearchBar.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SearchBar.cpp b/src/SearchBar.cpp
index a7e3890..c0a8aad 100644
--- a/src/SearchBar.cpp
+++ b/src/SearchBar.cpp
@@ -358,4 +358,8 @@ namespace QuickMedia {
return "";
return text.getString();
}
+
+ bool SearchBar::is_empty() const {
+ return show_placeholder;
+ }
} \ No newline at end of file