| 31 | } |
| 32 | |
| 33 | void JudgingDialog::sendNotify(QString head, QString body) { |
| 34 | #ifdef Q_OS_LINUX |
| 35 | QString text = "notify-send"; |
| 36 | QStringList args; |
| 37 | args.append(head); |
| 38 | args.append(body); |
| 39 | QProcess::execute(text, args); |
| 40 | #endif |
| 41 | } |
| 42 | |
| 43 | void JudgingDialog::setContest(Contest *contest) { |
| 44 | curContest = contest; |
nothing calls this directly
no outgoing calls
no test coverage detected