summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-03 18:10:36 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-03 18:10:36 +0000
commitd28191c50b16ac38a44e155cddf7fd918d2cfafb (patch)
tree60be6795a1f8545b3913d406d8ce03700da786d1
parentb9a31186faccaa6deb2935adae07c597dfdaac6e (diff)
downloadknights-d28191c50b16ac38a44e155cddf7fd918d2cfafb.tar.gz
knights-d28191c50b16ac38a44e155cddf7fd918d2cfafb.zip
Fix instances of Orientation in quotes which were accidentally renamed to Qt::Orientation during TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knights@1244690 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--knights/resource.cpp4
-rw-r--r--knights/setpagedisplay.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/knights/resource.cpp b/knights/resource.cpp
index d8f2c57..2c5cbb1 100644
--- a/knights/resource.cpp
+++ b/knights/resource.cpp
@@ -174,7 +174,7 @@ void resource::ConfigRead( void )
OPTION_Show_Last_Move = CFG->readBoolEntry( "ShowLastMove", TRUE );
OPTION_Animate_Moves = CFG->readBoolEntry( "AnimateMoves", FALSE );
OPTION_Show_Coord = CFG->readBoolEntry( "ShowCoord", FALSE );
- OPTION_Board_Orientation = CFG->readBoolEntry( "BoardQt::Orientation", 0 );
+ OPTION_Board_Orientation = CFG->readBoolEntry( "BoardOrientation", 0 );
/* ICS */
CFG->setGroup( "ICS" );
@@ -233,7 +233,7 @@ void resource::ConfigWrite( void )
CFG->writeEntry( "Ponder", OPTION_Ponder );
CFG->writeEntry( "BookWhite", OPTION_Book_White );
CFG->writeEntry( "BookBlack", OPTION_Book_Black );
- CFG->writeEntry( "BoardQt::Orientation", OPTION_Board_Orientation );
+ CFG->writeEntry( "BoardOrientation", OPTION_Board_Orientation );
CFG->writeEntry( "PauseOnMinimize", OPTION_Pause_On_Minimize );
CFG->writeEntry( "ReusePGN", OPTION_Reuse_PGN );
CFG->writeEntry( "PGNFilename", PGN_Filename );
diff --git a/knights/setpagedisplay.cpp b/knights/setpagedisplay.cpp
index aedeb91..a0e6bd9 100644
--- a/knights/setpagedisplay.cpp
+++ b/knights/setpagedisplay.cpp
@@ -107,7 +107,7 @@ void setPageDisplay::initTab1( void )
i18n( "Other Display Options" ),
Tab1 );
- Board_Orientation = new TQCheckBox( i18n( "Reverse Board Qt::Orientation" ), GROUP_General_Graphics );
+ Board_Orientation = new TQCheckBox( i18n( "Reverse Board Orientation" ), GROUP_General_Graphics );
Board_Orientation->setChecked( Resource->OPTION_Board_Orientation );
connect( Board_Orientation, TQT_SIGNAL( toggled(bool) ),
this, TQT_SLOT( slotToggle_Board_Orientation(bool) ) );