Show error dialog for failed SQL queries
This commit is contained in:
@@ -38,9 +38,9 @@
|
||||
|
||||
#include "core/song.h"
|
||||
|
||||
class QSqlQuery;
|
||||
class QAction;
|
||||
|
||||
class SqlQuery;
|
||||
class SqlRow;
|
||||
|
||||
class PlaylistItem : public std::enable_shared_from_this<PlaylistItem> {
|
||||
@@ -69,7 +69,7 @@ class PlaylistItem : public std::enable_shared_from_this<PlaylistItem> {
|
||||
virtual QList<QAction*> actions() { return QList<QAction*>(); }
|
||||
|
||||
virtual bool InitFromQuery(const SqlRow &query) = 0;
|
||||
void BindToQuery(QSqlQuery *query) const;
|
||||
void BindToQuery(SqlQuery *query) const;
|
||||
virtual void Reload() {}
|
||||
QFuture<void> BackgroundReload();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user