QTfrontend/gameuiconfig.cpp
changeset 8325 ecd51650d5d8
parent 8301 8bf36d368291
child 8330 aaefa587e277
child 8343 aa4ea3cade3c
child 8346 3443e0de2c9d
--- a/QTfrontend/gameuiconfig.cpp	Mon Dec 24 16:23:55 2012 +0100
+++ b/QTfrontend/gameuiconfig.cpp	Mon Dec 24 17:07:12 2012 +0100
@@ -130,10 +130,6 @@
     Form->ui.pageOptions->leProxyLogin->setText(value("proxy/login", "").toString());
     Form->ui.pageOptions->leProxyPassword->setText(value("proxy/password", "").toString());
 
-    depth = HWApplication::desktop()->depth();
-    if (depth < 16) depth = 16;
-    else if (depth > 16) depth = 32;
-
     { // load colors
         QStandardItemModel * model = DataManager::instance().colorsModel();
         for(int i = model->rowCount() - 1; i >= 0; --i)
@@ -449,11 +445,6 @@
     return 35 - Form->ui.pageOptions->fpsedit->value();
 }
 
-quint8 GameUIConfig::bitDepth()
-{
-    return depth;
-}
-
 QString GameUIConfig::netNick()
 {
     return Form->ui.pageOptions->editNetNick->text();