diff --git a/src/config.cc b/src/config.cc index 9a6e80d8..c4c9736e 100644 --- a/src/config.cc +++ b/src/config.cc @@ -1094,16 +1094,6 @@ Class load() if ( !mainWindowGeometry.isNull() ) c.mainWindowGeometry = QByteArray::fromBase64( mainWindowGeometry.toElement().text().toLatin1() ); - QDomNode helpWindowGeometry = root.namedItem( "helpWindowGeometry" ); - - if ( !helpWindowGeometry.isNull() ) - c.helpWindowGeometry = QByteArray::fromBase64( helpWindowGeometry.toElement().text().toLatin1() ); - - QDomNode helpSplitterState = root.namedItem( "helpSplitterState" ); - - if ( !helpSplitterState.isNull() ) - c.helpSplitterState = QByteArray::fromBase64( helpSplitterState.toElement().text().toLatin1() ); - QDomNode dictInfoGeometry = root.namedItem( "dictInfoGeometry" ); if ( !dictInfoGeometry.isNull() ) @@ -2099,14 +2089,6 @@ void save( Class const & c ) opt.appendChild( dd.createTextNode( QString::fromLatin1( c.mainWindowGeometry.toBase64() ) ) ); root.appendChild( opt ); - opt = dd.createElement( "helpWindowGeometry" ); - opt.appendChild( dd.createTextNode( QString::fromLatin1( c.helpWindowGeometry.toBase64() ) ) ); - root.appendChild( opt ); - - opt = dd.createElement( "helpSplitterState" ); - opt.appendChild( dd.createTextNode( QString::fromLatin1( c.helpSplitterState.toBase64() ) ) ); - root.appendChild( opt ); - opt = dd.createElement( "dictInfoGeometry" ); opt.appendChild( dd.createTextNode( QString::fromLatin1( c.dictInfoGeometry.toBase64() ) ) ); root.appendChild( opt ); diff --git a/src/config.hh b/src/config.hh index 0d017902..7259797e 100644 --- a/src/config.hh +++ b/src/config.hh @@ -695,8 +695,6 @@ struct Class QByteArray dictInfoGeometry; // Geometry of "Dictionary info" window QByteArray inspectorGeometry; // Geometry of WebKit inspector window QByteArray dictionariesDialogGeometry; // Geometry of Dictionaries dialog - QByteArray helpWindowGeometry; // Geometry of help window - QByteArray helpSplitterState; // Geometry of help splitter QString historyExportPath; // Path for export/import history QString resourceSavePath; // Path to save images/audio