Merge pull request #107 from llyyr/fix-various-build
Fix various build issues
This commit is contained in:
commit
a9ddc0216f
3 changed files with 3 additions and 2 deletions
|
@ -259,7 +259,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;
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include <QApplication>
|
||||
#include <QDebug>
|
||||
#include <QMessageBox>
|
||||
#include <QTimer>
|
||||
|
||||
#ifdef KXMLGUI
|
||||
|
|
|
@ -20,9 +20,9 @@
|
|||
|
||||
#ifdef KNOTIFICATIONS
|
||||
#include <KNotification>
|
||||
#include <KJob>
|
||||
#endif
|
||||
|
||||
#include <KJob>
|
||||
|
||||
class UserScript : public QObject {
|
||||
Q_OBJECT
|
||||
|
|
Loading…
Reference in a new issue