From 6d038acf5651c493e409ffc073c504e4124bb383 Mon Sep 17 00:00:00 2001 From: Kevin Whitaker Date: Sat, 18 Feb 2017 16:08:16 -0500 Subject: [PATCH] Use bootstrap theme. Remove progressbar css that no longer applies. --- src/WebInterface.cpp | 2 ++ src/ui/PlayerInterface.cpp | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/WebInterface.cpp b/src/WebInterface.cpp index c393a85..ecbb734 100644 --- a/src/WebInterface.cpp +++ b/src/WebInterface.cpp @@ -22,6 +22,7 @@ #include "ui/PlayerInterface.h" #include #include +#include struct WebInterface::internal { @@ -33,6 +34,7 @@ WebInterface::WebInterface(const Wt::WEnvironment& env) : Wt::WApplication(env) { priv_int = new internal; this->useStyleSheet(Wt::WLink("/resources/font-awesome/css/font-awesome.min.css")); + setTheme(new Wt::WBootstrapTheme()); setTitle("Arbitrateor - Audio Jukebox"); enableUpdates(true); priv_int->playerUI = new PlayerInterface(this); diff --git a/src/ui/PlayerInterface.cpp b/src/ui/PlayerInterface.cpp index 33aa2b0..b04abe2 100644 --- a/src/ui/PlayerInterface.cpp +++ b/src/ui/PlayerInterface.cpp @@ -38,7 +38,6 @@ PlayerInterface::PlayerInterface(WebInterface* app) playControlWidget->setLayout(playControlLayout); currentTrackProgress = new Wt::WProgressBar(); - currentTrackProgress->decorationStyle().setBackgroundColor(Wt::WColor("#B20A5E")); currentTrackProgress->setFormat(""); trackProgress = new Wt::WTimer(); trackProgress->setInterval(1000); -- GitLab