console log config location
This commit is contained in:
parent
259e6dc75d
commit
8a8690fe53
2 changed files with 6 additions and 2 deletions
|
@ -54,12 +54,15 @@ void DiscordPage::setupPermissions() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void DiscordPage::setupUserStyles() {
|
void DiscordPage::setupUserStyles() {
|
||||||
|
qDebug(userstylesLog).noquote()
|
||||||
|
<< "Looking for userstyles in"
|
||||||
|
<< QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation);
|
||||||
m_userStylesFile = new QFile(
|
m_userStylesFile = new QFile(
|
||||||
QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation) +
|
QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation) +
|
||||||
"/userstyles.css");
|
"/userstyles.css");
|
||||||
if (m_userStylesFile->exists()) {
|
if (m_userStylesFile->exists()) {
|
||||||
qDebug(userstylesLog) << "Found userstyles:"
|
qDebug(userstylesLog).noquote()
|
||||||
<< m_userStylesFile->fileName();
|
<< "Found userstyles:" << m_userStylesFile->fileName();
|
||||||
m_userStylesFile->open(QIODevice::ReadOnly);
|
m_userStylesFile->open(QIODevice::ReadOnly);
|
||||||
m_userStylesContent = m_userStylesFile->readAll();
|
m_userStylesContent = m_userStylesFile->readAll();
|
||||||
m_userStylesFile->close();
|
m_userStylesFile->close();
|
||||||
|
|
1
submodules/Vencord
Submodule
1
submodules/Vencord
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 62b2acebe6806c7b0e2ca6a43c6b2419a627b8dc
|
Loading…
Reference in a new issue