From a50619e7334ff3620034a8b2ea75ceeffd4a805a Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Wed, 29 Feb 2012 11:48:15 +0100 Subject: Fix compilation when smartcard support is disabled The addition of smartcard control to the controller doesn't handle the case when smartcard support is disabled at compile time. When this is the case, this causes compile errors. --- client/application.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/application.cpp') diff --git a/client/application.cpp b/client/application.cpp index 5d1f73a7..34ef729f 100644 --- a/client/application.cpp +++ b/client/application.cpp @@ -1675,10 +1675,12 @@ void Application::set_title(const std::string& title) } } +#ifdef USE_SMARTCARD void Application::enable_smartcard(bool enable) { _smartcard_options->enable = enable; } +#endif bool Application::is_key_set_pressed(const HotkeySet& key_set) { -- cgit