diff options
author | Alon Levy <alevy@redhat.com> | 2012-02-26 12:45:28 +0100 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2012-02-28 14:40:42 +0200 |
commit | 26516fc5a2f5723543386ade3e7b2907408d05b6 (patch) | |
tree | ec3505cffd328eeaecbb967717542244722e1367 /client/application.cpp | |
parent | bbd01f5f63e7cdef43ef32a4d5d55ee05d1245a8 (diff) | |
download | spice-26516fc5a2f5723543386ade3e7b2907408d05b6.tar.gz spice-26516fc5a2f5723543386ade3e7b2907408d05b6.tar.xz spice-26516fc5a2f5723543386ade3e7b2907408d05b6.zip |
client: handle CONTROLLER_ENABLE_SMARTCARD (rhbz 641828)
Diffstat (limited to 'client/application.cpp')
-rw-r--r-- | client/application.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/application.cpp b/client/application.cpp index 1d4da8b7..5d1f73a7 100644 --- a/client/application.cpp +++ b/client/application.cpp @@ -1675,6 +1675,11 @@ void Application::set_title(const std::string& title) } } +void Application::enable_smartcard(bool enable) +{ + _smartcard_options->enable = enable; +} + bool Application::is_key_set_pressed(const HotkeySet& key_set) { HotkeySet::const_iterator iter = key_set.begin(); |