Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Commit

Permalink
added a hint for not configuring kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
DuckSoft committed Jun 14, 2020
1 parent 0cbb507 commit cbb220a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/Kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#include "SimplePlugin.hpp"

#include <QMessageBox>

NaiveProxyKernel::NaiveProxyKernel(QObject *parent) : Qv2rayPlugin::QvPluginKernel(parent)
{
process.setProcessChannelMode(QProcess::MergedChannels);
Expand All @@ -21,7 +23,7 @@ bool NaiveProxyKernel::StartKernel()
const auto executablePath = pluginInstance->GetSettngs()["kernelPath"].toString();
if (!QFile::exists(executablePath))
{
emit OnKernelCrashed(tr("NaiveProxy kernel not found. Please configure in plugin settings."));
QMessageBox::warning(nullptr, tr("Naive!"), tr("We cannot find your NaiveProxy kernel. Please configure it in the plugin settings."));
return false;
}

Expand Down

0 comments on commit cbb220a

Please sign in to comment.