From 4bf1eeb0652df406b8469e88425db98f4270761f Mon Sep 17 00:00:00 2001 From: Adam Potolsky Date: Fri, 29 May 2015 16:47:51 -0700 Subject: [PATCH] Removed unnecessary method and static data #4696 --- src/gui/src/Plugin.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/gui/src/Plugin.cpp b/src/gui/src/Plugin.cpp index 4c1729fb..d5ce909a 100644 --- a/src/gui/src/Plugin.cpp +++ b/src/gui/src/Plugin.cpp @@ -42,17 +42,14 @@ static const char kLinuxPackagePlatformRpm64[] = "Linux-x86_64-rpm"; #if defined(Q_OS_WIN) static const char kWinPluginExt[] = ".dll"; static const char kInstallerPluginLocation[] = "C:/Program Files/Synergy/Plugins/"; //TODO: needs proper windows %X% notation -static const char kUserPluginLocation[] = "C:/Users/speaker/AppData/Local/Synergy/Plugins";//TODO: needs proper windows %X% notation #elif defined(Q_OS_MAC) static const char kMacPluginPrefix[] = "lib"; static const char kMacPluginExt[] = ".dylib"; static const char kInstallerPluginLocation[] = "/usr/lib/synergy/plugins"; -static const char kUserPluginLocation[] = "/home/speaker/.synergy/plugins";//TODO: needs proper unix notation #else static const char kLinuxPluginPrefix[] = "lib"; static const char kLinuxPluginExt[] = ".so"; static const char kInstallerPluginLocation[] = "/usr/lib/synergy/plugins"; -static const char kUserPluginLocation[] = "/home/speaker/.synergy/plugins";//TODO: needs proper MacOS X notation #endif QString Plugin::getOsSpecificExt() @@ -83,8 +80,3 @@ QString Plugin::getOsSpecificName(const QString& pluginName) QString Plugin::getOsSpecificInstallerLocation() { return kInstallerPluginLocation; } - -QString Plugin::getOsSpecificUserLocation() { - return kUserPluginLocation; -} -