summaryrefslogtreecommitdiffstats
path: root/win/vncviewer/CConnOptions.cxx
diff options
context:
space:
mode:
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2006-09-11 06:07:55 +0000
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2006-09-11 06:07:55 +0000
commit03ad683b85236cd7d144a491ebb7efdde5224f41 (patch)
treef177e759588d2344f9da94fb8c481ea14c1eeefd /win/vncviewer/CConnOptions.cxx
parent57160b0fc45ad4ee81a6bfa7ab668eba9071a357 (diff)
downloadtigervnc-03ad683b85236cd7d144a491ebb7efdde5224f41.tar.gz
tigervnc-03ad683b85236cd7d144a491ebb7efdde5224f41.zip
Removed the unnecessary CConnOptions::scaling parameter.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@658 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/vncviewer/CConnOptions.cxx')
-rw-r--r--win/vncviewer/CConnOptions.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/win/vncviewer/CConnOptions.cxx b/win/vncviewer/CConnOptions.cxx
index bf2ba5a3..71c07f9d 100644
--- a/win/vncviewer/CConnOptions.cxx
+++ b/win/vncviewer/CConnOptions.cxx
@@ -153,9 +153,6 @@ autoReconnect(::autoReconnect), autoScaling(::autoScaling), scale(::scale)
// Default to CustomCompressLevel=1 if CompressLevel is used.
customCompressLevel = ::compressLevel.hasBeenSet();
}
-
- if (scale != 100) scaling = true;
- else scaling = false;
}
@@ -301,9 +298,6 @@ void CConnOptions::readFromFile(const char* filename) {
if (autoSelect)
preferredEncoding = encodingZRLE;
- if (scale == 100) scaling = false;
- else scaling = true;
-
setConfigFileName(filename);
} catch (rdr::Exception&) {
if (f) fclose(f);
@@ -468,7 +462,6 @@ CConnOptions& CConnOptions::operator=(const CConnOptions& o) {
qualityLevel = o.qualityLevel;
autoScaling = o.autoScaling;
scale = o.scale;
- scaling = o.scaling;
return *this;
}