diff options
Diffstat (limited to 'krdc/rdp/rdphostpref.cpp')
-rw-r--r-- | krdc/rdp/rdphostpref.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/krdc/rdp/rdphostpref.cpp b/krdc/rdp/rdphostpref.cpp index 783c41e4..a8186403 100644 --- a/krdc/rdp/rdphostpref.cpp +++ b/krdc/rdp/rdphostpref.cpp @@ -25,9 +25,9 @@ const QString RdpHostPref::RdpType = "RDP"; RdpHostPref::RdpHostPref(KConfig *conf, const QString &host, const QString &type) : HostPref(conf, host, type), - m_width(800), - m_height(600), - m_colorDepth(8), + m_width(0), + m_height(0), + m_colorDepth(24), m_layout("en-us"), m_askOnConnect(true), m_useKWallet(true) @@ -70,9 +70,9 @@ void RdpHostPref::load() { m_config->setGroup("PerHostSettings"); QString p = prefix(); - m_width = m_config->readNumEntry(p+"width", 800); - m_height = m_config->readNumEntry(p+"height", 600); - m_colorDepth = m_config->readNumEntry(p+"colorDepth", 8); + m_width = m_config->readNumEntry(p+"width", 0); + m_height = m_config->readNumEntry(p+"height", 0); + m_colorDepth = m_config->readNumEntry(p+"colorDepth", 24); m_layout = m_config->readEntry(p+"layout", "en-us"); m_askOnConnect = m_config->readBoolEntry(p+"askOnConnect", true); m_useKWallet = m_config->readBoolEntry(p+"useKWallet", true); @@ -99,9 +99,9 @@ void RdpHostPref::remove() void RdpHostPref::setDefaults() { m_config->setGroup("RdpDefaultSettings"); - m_width = m_config->readNumEntry("rdpWidth", 800); - m_height = m_config->readNumEntry("rdpHeight", 600); - m_colorDepth = m_config->readNumEntry("rdpColorDepth", 8); + m_width = m_config->readNumEntry("rdpWidth", 0); + m_height = m_config->readNumEntry("rdpHeight", 0); + m_colorDepth = m_config->readNumEntry("rdpColorDepth", 24); m_layout = m_config->readEntry("rdpKeyboardLayout", "en-us"); m_askOnConnect = m_config->readBoolEntry("rdpShowHostPreferences", true); m_useKWallet = m_config->readBoolEntry("rdpUseKWallet", true); |