remove obsolete config option "show intro at startup"

This commit is contained in:
doitux
2009-04-10 07:30:14 +00:00
parent 6507219d11
commit 2417778152
3 changed files with 24 additions and 38 deletions
+1 -2
View File
@@ -48,7 +48,7 @@ ConfigFile::ConfigFile(char *argv0, bool readonly) : noWriteAccess(readonly)
myQtToolsInterface = CreateQtToolsWrapper();
// !!!! Revisionsnummer der Configdefaults !!!!!
configRev = 65;
configRev = 66;
//standard defaults
logOnOffDefault = "1";
@@ -134,7 +134,6 @@ ConfigFile::ConfigFile(char *argv0, bool readonly) : noWriteAccess(readonly)
/*configList.push_back(ConfigInfo("InternetServerAddressIRCChannelUpdateDone", CONFIG_TYPE_INT, "1"));*/ //HACK
configList.push_back(ConfigInfo("ShowLeftToolBox", CONFIG_TYPE_INT, "1"));
configList.push_back(ConfigInfo("ShowRightToolBox", CONFIG_TYPE_INT, "1"));
configList.push_back(ConfigInfo("ShowIntro", CONFIG_TYPE_INT, "1"));
configList.push_back(ConfigInfo("ShowFadeOutCardsAnimation", CONFIG_TYPE_INT, "1"));
configList.push_back(ConfigInfo("ShowFlipCardsAnimation", CONFIG_TYPE_INT, "1"));
configList.push_back(ConfigInfo("ShowBlindButtons", CONFIG_TYPE_INT, "1"));
+23 -34
View File
@@ -177,13 +177,6 @@
</item>
<item row="3" column="0" >
<layout class="QGridLayout" name="gridLayout_7" >
<item row="0" column="0" >
<widget class="QCheckBox" name="checkBox_showIntro" >
<property name="text" >
<string>Show intro on startup</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QCheckBox" name="checkBox_showLeftToolbox" >
<property name="text" >
@@ -191,27 +184,6 @@
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QCheckBox" name="checkBox_showRightToolbox" >
<property name="text" >
<string>Show right toolbox</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QCheckBox" name="checkBox_showFadeOutCardsAnimation" >
<property name="text" >
<string>Show fade-out animation for non-winning cards</string>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QCheckBox" name="checkBox_alternateFKeysUserActionMode" >
<property name="text" >
<string>Reverse order of F-Keys (F1 - F4)</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QCheckBox" name="checkBox_showFlipCardsAnimation" >
<property name="text" >
@@ -233,14 +205,35 @@
</property>
</widget>
</item>
<item row="4" column="0" >
<item row="0" column="0" >
<widget class="QCheckBox" name="checkBox_showRightToolbox" >
<property name="text" >
<string>Show right toolbox</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QCheckBox" name="checkBox_showFadeOutCardsAnimation" >
<property name="text" >
<string>Show fade-out animation for non-winning cards</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QCheckBox" name="checkBox_alternateFKeysUserActionMode" >
<property name="text" >
<string>Reverse order of F-Keys (F1 - F4)</string>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QCheckBox" name="checkBox_showBlindButtons" >
<property name="text" >
<string>Show buttons for small blind and big blind</string>
</property>
</widget>
</item>
<item row="5" column="0" colspan="2" >
<item row="4" column="0" colspan="2" >
<widget class="QCheckBox" name="checkBox_dontTranslatePokerStrings" >
<property name="text" >
<string>Don't translate poker strings like check, call, raise from game table style</string>
@@ -3401,11 +3394,7 @@ p, li { white-space: pre-wrap; }
<tabstops>
<tabstop>listWidget</tabstop>
<tabstop>comboBox_switchLanguage</tabstop>
<tabstop>checkBox_showIntro</tabstop>
<tabstop>checkBox_showLeftToolbox</tabstop>
<tabstop>checkBox_showRightToolbox</tabstop>
<tabstop>checkBox_showFadeOutCardsAnimation</tabstop>
<tabstop>checkBox_alternateFKeysUserActionMode</tabstop>
<tabstop>checkBox_enableBetInputFocusSwitch</tabstop>
<tabstop>radioButton_flipsideTux</tabstop>
<tabstop>radioButton_flipsideOwn</tabstop>
@@ -220,7 +220,6 @@ void settingsDialogImpl::exec() {
comboBox_switchLanguage->setCurrentIndex(comboBox_switchLanguage->findData(QString::fromUtf8(myConfig->readConfigString("Language").c_str()).section('_', 0, 0)));
checkBox_showLeftToolbox->setChecked(myConfig->readConfigInt("ShowLeftToolBox"));
checkBox_showRightToolbox->setChecked(myConfig->readConfigInt("ShowRightToolBox"));
checkBox_showIntro->setChecked(myConfig->readConfigInt("ShowIntro"));
checkBox_showFadeOutCardsAnimation->setChecked(myConfig->readConfigInt("ShowFadeOutCardsAnimation"));
checkBox_showFlipCardsAnimation->setChecked(myConfig->readConfigInt("ShowFlipCardsAnimation"));
checkBox_showBlindButtons->setChecked(myConfig->readConfigInt("ShowBlindButtons"));
@@ -507,7 +506,6 @@ void settingsDialogImpl::isAccepted() {
myConfig->writeConfigString("Language", comboBox_switchLanguage->itemData(comboBox_switchLanguage->currentIndex()).toString().toUtf8().constData());
myConfig->writeConfigInt("ShowLeftToolBox", checkBox_showLeftToolbox->isChecked());
myConfig->writeConfigInt("ShowRightToolBox", checkBox_showRightToolbox->isChecked());
myConfig->writeConfigInt("ShowIntro", checkBox_showIntro->isChecked());
myConfig->writeConfigInt("ShowFadeOutCardsAnimation", checkBox_showFadeOutCardsAnimation->isChecked());
myConfig->writeConfigInt("ShowFlipCardsAnimation", checkBox_showFlipCardsAnimation->isChecked());
myConfig->writeConfigInt("ShowBlindButtons", checkBox_showBlindButtons->isChecked());