fix build
This commit is contained in:
parent
bf2ca8325c
commit
a242564f9c
@ -424,7 +424,7 @@ void DatabaseQueries::markMessagesReadUnreadImportant(const QSqlDatabase& db,
|
||||
const QStringList& custom_ids,
|
||||
RootItem::ReadStatus read,
|
||||
RootItem::Importance important) {
|
||||
auto stringed_ids = boolinq::from(custom_ids)
|
||||
auto stringed_ids = boolinq::from(custom_ids.begin(), custom_ids.end())
|
||||
.select([](const QString& id) {
|
||||
return QSL("'%1'").arg(id);
|
||||
})
|
||||
|
@ -244,7 +244,7 @@ int TabWidget::addEmptyBrowser() {
|
||||
#if defined(ENABLE_MEDIAPLAYER)
|
||||
int TabWidget::addMediaPlayer(const QString& url, bool make_active) {
|
||||
// #if defined(ENABLE_MEDIAPLAYER_LIBMPV)
|
||||
// QQuickWindow::setGraphicsApi(QSGRendererInterface::GraphicsApi::OpenGL);
|
||||
// QQuickWindow::setGraphicsApi(QSGRendererInterface::GraphicsApi::OpenGL);
|
||||
// #endif
|
||||
|
||||
auto* player = new MediaPlayer(this);
|
||||
|
@ -22,7 +22,6 @@
|
||||
#if QT_VERSION_MAJOR == 6
|
||||
#include <QWebEngineContextMenuRequest>
|
||||
#else
|
||||
#include <QOpenGLWidget>
|
||||
#include <QWebEngineContextMenuData>
|
||||
#endif
|
||||
|
||||
|
@ -53,10 +53,8 @@ int main(int argc, char* argv[]) {
|
||||
Q_INIT_RESOURCE(rssguard);
|
||||
#endif
|
||||
|
||||
// Ensure that ini format is used as application settings storage on macOS.
|
||||
QSettings::setDefaultFormat(QSettings::IniFormat);
|
||||
|
||||
QApplication::setAttribute(Qt::AA_UseDesktopOpenGL, true);
|
||||
QSettings::setDefaultFormat(QSettings::Format::IniFormat);
|
||||
QApplication::setAttribute(Qt::ApplicationAttribute::AA_UseDesktopOpenGL, true);
|
||||
|
||||
// We create our own "arguments" list as Qt strips something
|
||||
// sometimes out.
|
||||
|
Loading…
x
Reference in New Issue
Block a user