chore: remove unused daemonInfo from App and SubClasses
This commit is contained in:
committed by
Chris Rizzitello
parent
22dad7ac06
commit
f8ae8c5781
@ -53,7 +53,6 @@ public:
|
||||
virtual void parseArgs() = 0;
|
||||
virtual void loadConfig() = 0;
|
||||
virtual bool loadConfig(const QString &filename) = 0;
|
||||
virtual const char *daemonInfo() const = 0;
|
||||
|
||||
void setByeFunc(void (*bye)(int)) override
|
||||
{
|
||||
|
||||
@ -83,13 +83,6 @@ const char *ClientApp::daemonName() const
|
||||
return "deskflow-client";
|
||||
}
|
||||
|
||||
const char *ClientApp::daemonInfo() const
|
||||
{
|
||||
if (deskflow::platform::isWindows())
|
||||
return "Allows another computer to share it's keyboard and mouse with this computer.";
|
||||
return "";
|
||||
}
|
||||
|
||||
deskflow::Screen *ClientApp::createScreen()
|
||||
{
|
||||
const bool invertScrolling = Settings::value(Settings::Client::InvertScrollDirection).toBool();
|
||||
|
||||
@ -33,7 +33,6 @@ public:
|
||||
|
||||
void parseArgs() override;
|
||||
const char *daemonName() const override;
|
||||
const char *daemonInfo() const override;
|
||||
void loadConfig() override
|
||||
{
|
||||
// do nothing
|
||||
|
||||
@ -621,13 +621,6 @@ const char *ServerApp::daemonName() const
|
||||
return "deskflow-server";
|
||||
}
|
||||
|
||||
const char *ServerApp::daemonInfo() const
|
||||
{
|
||||
if (deskflow::platform::isWindows())
|
||||
return "Shares this computers mouse and keyboard with other computers.";
|
||||
return "";
|
||||
}
|
||||
|
||||
void ServerApp::startNode()
|
||||
{
|
||||
// start the server. if this return false then we've failed and
|
||||
|
||||
@ -54,7 +54,6 @@ public:
|
||||
|
||||
void parseArgs() override;
|
||||
const char *daemonName() const override;
|
||||
const char *daemonInfo() const override;
|
||||
void loadConfig() override;
|
||||
bool loadConfig(const QString &filename) override;
|
||||
deskflow::Screen *createScreen() override;
|
||||
|
||||
Reference in New Issue
Block a user