This commit is contained in:
Malte Jürgens 2023-02-18 15:24:30 +01:00
commit 9cbdca0441
No known key found for this signature in database
GPG Key ID: D29FBD5F93C0CFC3
3 changed files with 3 additions and 2 deletions

View File

@ -264,7 +264,7 @@ void DiscordPage::javaScriptConsoleMessage(
auto lines = segment.split("\n");
QString ansi;
uint endOfStyles = lines.length();
for (size_t line = 1; line < lines.length(); line++) {
for (auto line = 1; line < lines.length(); line++) {
if (!lines[line].endsWith(";")) {
endOfStyles = line;
break;

View File

@ -6,6 +6,7 @@
#include <QDebug>
#include <QFile>
#include <QInputDialog>
#include <QMessageBox>
#include <QStandardPaths>
#include <QTimer>

View File

@ -20,9 +20,9 @@
#ifdef KNOTIFICATIONS
#include <KNotification>
#include <KJob>
#endif
#include <KJob>
class UserScript : public QObject {
Q_OBJECT