This commit is contained in:
Malte Jürgens 2023-02-19 00:36:27 +01:00
parent f73524de27
commit 0b9fc100c2
No known key found for this signature in database
GPG Key ID: D29FBD5F93C0CFC3
2 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,7 @@ void DiscordPage::setupPermissions() {
void DiscordPage::setupUserStyles() { void DiscordPage::setupUserStyles() {
qDebug(userstylesLog).noquote() qDebug(userstylesLog).noquote()
<< "Looking for userstyles in" << m_configLocation; << "Looking for userstyles in" << m_configLocation.absolutePath();
m_userStylesFile = m_userStylesFile =
new QFile(m_configLocation.absoluteFilePath("userstyles.css")); new QFile(m_configLocation.absoluteFilePath("userstyles.css"));
if (m_userStylesFile->exists()) { if (m_userStylesFile->exists()) {

View File

@ -5,6 +5,7 @@
#include <QDir> #include <QDir>
#include <QFile> #include <QFile>
#include <QNetworkAccessManager> #include <QNetworkAccessManager>
#include <QStandardPaths>
#include <QWebEngineFullScreenRequest> #include <QWebEngineFullScreenRequest>
#include <QWebEnginePage> #include <QWebEnginePage>
#include <QWebEngineScript> #include <QWebEngineScript>