summaryrefslogtreecommitdiff
path: root/plugins/FTPFileYM/src/options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-12-17 19:25:36 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-12-17 19:25:36 +0300
commit45e8cd4d903d4ea823f0ab4ca2e7afe27ddc514b (patch)
tree1b2e1c275f87170c029c6f0181a54984c435cc4a /plugins/FTPFileYM/src/options.cpp
parent47eae603adab188624f17dab14318c1b1995f0ab (diff)
FtpFile:
- fixes #1662 (FTPFile: Default account's names looks weird) - code cleaning - version bump
Diffstat (limited to 'plugins/FTPFileYM/src/options.cpp')
-rw-r--r--plugins/FTPFileYM/src/options.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/plugins/FTPFileYM/src/options.cpp b/plugins/FTPFileYM/src/options.cpp
index b71aaaa0a1..f07e1d8168 100644
--- a/plugins/FTPFileYM/src/options.cpp
+++ b/plugins/FTPFileYM/src/options.cpp
@@ -18,19 +18,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdafx.h"
-Options *Options::instance = nullptr;
-Options &opt = Options::getInstance();
-
-extern DeleteTimer &deleteTimer;
-extern ServerList &ftpList;
+Options opt;
extern void PrebuildMainMenu();
-void Options::deinit()
-{
- delete this;
-}
-
void Options::loadOptions()
{
selected = g_plugin.getByte("Selected", 0);