diff options
author | lizr2004 | 2020-02-16 11:51:45 +0800 |
---|---|---|
committer | lizr2004 | 2020-02-16 11:51:45 +0800 |
commit | e153b7c8af1334b9548496e0e484a103d9632b63 (patch) | |
tree | 896b72b495bab55e1a62ee20513bac770ecd5b64 /ccrplus.patch | |
parent | ccf106cc2c480cc8a903b7d0c08ce64e1141b9d6 (diff) | |
download | aur-e153b7c8af1334b9548496e0e484a103d9632b63.tar.gz |
Better PKGBUILD, icon fix
Diffstat (limited to 'ccrplus.patch')
-rw-r--r-- | ccrplus.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/ccrplus.patch b/ccrplus.patch new file mode 100644 index 000000000000..5f0e6b41296b --- /dev/null +++ b/ccrplus.patch @@ -0,0 +1,34 @@ +diff --git a/src/configure/configuredialog.h b/src/configure/configuredialog.h +index dfd4db7..ec5e274 100644 +--- a/src/configure/configuredialog.h ++++ b/src/configure/configuredialog.h +@@ -1,6 +1,7 @@ + #ifndef CONFIGUREDIALOG_H + #define CONFIGUREDIALOG_H + ++#include <QHeaderView> + #include <QDialog> + + class QAbstractButton; +diff --git a/src/judge/judger/basejudger.cpp b/src/judge/judger/basejudger.cpp +index 48b4264..375307a 100644 +--- a/src/judge/judger/basejudger.cpp ++++ b/src/judge/judger/basejudger.cpp +@@ -137,7 +137,7 @@ TestCaseResult BaseJudger::checkOutput(const QString& inFile, const QString& ans + else + checkerDir = data_dir; + #ifdef Q_OS_LINUX +- QProcess::execute(QString("chmod +wx \"%1\"").arg(checkerDir + problem->Checker())); ++// QProcess::execute(QString("chmod +wx \"%1\"").arg(checkerDir + problem->Checker())); + #endif + process.start(checkerDir + problem->Checker(), QStringList({inFile, ansFile, outFile, ".result"})); + +@@ -307,7 +307,7 @@ TestCaseResult BaseJudger::runProgram(const QString& exe, double timeLim, double + + TestCaseResult BaseJudger::runProgram(const QString& exe, double timeLim, double memLim) const + { +- QProcess::execute(QString("chmod +wx \"%1\"").arg(QCoreApplication::applicationDirPath() + "/monitor")); ++// QProcess::execute(QString("chmod +wx \"%1\"").arg(QCoreApplication::applicationDirPath() + "/monitor")); + + QProcess process; + process.setWorkingDirectory(working_dir); |