diff options
| author | Christophe Fergeau <cfergeau@redhat.com> | 2012-02-29 11:48:15 +0100 |
|---|---|---|
| committer | Christophe Fergeau <cfergeau@redhat.com> | 2012-02-29 18:20:01 +0100 |
| commit | a50619e7334ff3620034a8b2ea75ceeffd4a805a (patch) | |
| tree | 85b8eb4e141f7c7f30cc66c3f4e10bdc76145232 /client/application.cpp | |
| parent | 4b7c66cafc7b250f4517cfb1e415a2889abec994 (diff) | |
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.
Diffstat (limited to 'client/application.cpp')
| -rw-r--r-- | client/application.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |
