Merge branch 'master' of https://github.com/maltejur/discord-screenaudio
This commit is contained in:
commit
9cbdca0441
3 changed files with 3 additions and 2 deletions
|
@ -264,7 +264,7 @@ void DiscordPage::javaScriptConsoleMessage(
|
||||||
auto lines = segment.split("\n");
|
auto lines = segment.split("\n");
|
||||||
QString ansi;
|
QString ansi;
|
||||||
uint endOfStyles = lines.length();
|
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(";")) {
|
if (!lines[line].endsWith(";")) {
|
||||||
endOfStyles = line;
|
endOfStyles = line;
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include <QInputDialog>
|
#include <QInputDialog>
|
||||||
|
#include <QMessageBox>
|
||||||
#include <QStandardPaths>
|
#include <QStandardPaths>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
|
||||||
|
|
|
@ -20,9 +20,9 @@
|
||||||
|
|
||||||
#ifdef KNOTIFICATIONS
|
#ifdef KNOTIFICATIONS
|
||||||
#include <KNotification>
|
#include <KNotification>
|
||||||
|
#include <KJob>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <KJob>
|
|
||||||
|
|
||||||
class UserScript : public QObject {
|
class UserScript : public QObject {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
Loading…
Reference in a new issue