Fixed clang warnings
This commit is contained in:
@@ -43,7 +43,6 @@ namespace lms::api::subsonic
|
|||||||
{
|
{
|
||||||
using namespace db;
|
using namespace db;
|
||||||
|
|
||||||
static const std::string_view reportedDummyDate{ "2000-01-01T00:00:00" };
|
|
||||||
static const unsigned long long reportedDummyDateULong{ 946684800000ULL }; // 2000-01-01T00:00:00 UTC
|
static const unsigned long long reportedDummyDateULong{ 946684800000ULL }; // 2000-01-01T00:00:00 UTC
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
|
|||||||
@@ -189,7 +189,7 @@ namespace lms::ui
|
|||||||
setFormWidget(MediaLibraryModel::DirectoryField, std::make_unique<Wt::WLineEdit>());
|
setFormWidget(MediaLibraryModel::DirectoryField, std::make_unique<Wt::WLineEdit>());
|
||||||
|
|
||||||
Wt::WPushButton* saveBtn{ bindNew<Wt::WPushButton>("save-btn", Wt::WString::tr(mediaLibraryId.isValid() ? "Lms.save" : "Lms.create")) };
|
Wt::WPushButton* saveBtn{ bindNew<Wt::WPushButton>("save-btn", Wt::WString::tr(mediaLibraryId.isValid() ? "Lms.save" : "Lms.create")) };
|
||||||
saveBtn->clicked().connect(this, [this, mediaLibraryId, model]
|
saveBtn->clicked().connect(this, [this, model]
|
||||||
{
|
{
|
||||||
updateModel(model.get());
|
updateModel(model.get());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user