diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-12-13 06:26:27 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-12-13 06:26:27 +0000 |
commit | 9fab5b8a216e283e563f3457315715672bc8b55a (patch) | |
tree | c1251952e4e0e28fad0bca829d49335ff15b6e98 /krdc/rdp/rdphostpref.cpp | |
parent | bcb704366cb5e333a626c18c308c7e0448a8e69f (diff) | |
download | tdenetwork-9fab5b8a216e283e563f3457315715672bc8b55a.tar.gz tdenetwork-9fab5b8a216e283e563f3457315715672bc8b55a.zip |
Update to Trinity 3.5.11
Will need to watch for commit warnings and rebuild test
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1061808 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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); |