aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-08-08 04:13:03 +0200
committerdec05eba <dec05eba@protonmail.com>2019-08-08 04:13:06 +0200
commit3c9ca2c97ae7a2b39bfe5c5e8a9d7941f9fb1525 (patch)
tree04ddde3af4a0355149a755c333c63cf82aa875f0 /include
parent81d2e6162f06a01ac36878a2ab0c6efdff461755 (diff)
Youtube: use real search for search suggestions (better results, thumbnails, directly to result)
Diffstat (limited to 'include')
-rw-r--r--include/QuickMedia.hpp1
-rw-r--r--include/SearchBar.hpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp
index 2ab4733..7534439 100644
--- a/include/QuickMedia.hpp
+++ b/include/QuickMedia.hpp
@@ -35,7 +35,6 @@ namespace QuickMedia {
std::unique_ptr<SearchBar> search_bar;
Page current_page;
// TODO: Combine these
- std::string video_url;
std::string images_url;
std::string content_title;
std::string content_url;
diff --git a/include/SearchBar.hpp b/include/SearchBar.hpp
index c9f75f0..f1ac3fd 100644
--- a/include/SearchBar.hpp
+++ b/include/SearchBar.hpp
@@ -23,6 +23,7 @@ namespace QuickMedia {
TextUpdateCallback onTextUpdateCallback;
TextSubmitCallback onTextSubmitCallback;
+ int text_autosearch_delay;
private:
sf::Text text;
sf::RectangleShape background;