mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
fix: remove unused configuration
This commit is contained in:
parent
47cc3ced1f
commit
70cd2f937d
|
@ -1094,16 +1094,6 @@ Class load()
|
||||||
if ( !mainWindowGeometry.isNull() )
|
if ( !mainWindowGeometry.isNull() )
|
||||||
c.mainWindowGeometry = QByteArray::fromBase64( mainWindowGeometry.toElement().text().toLatin1() );
|
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" );
|
QDomNode dictInfoGeometry = root.namedItem( "dictInfoGeometry" );
|
||||||
|
|
||||||
if ( !dictInfoGeometry.isNull() )
|
if ( !dictInfoGeometry.isNull() )
|
||||||
|
@ -2099,14 +2089,6 @@ void save( Class const & c )
|
||||||
opt.appendChild( dd.createTextNode( QString::fromLatin1( c.mainWindowGeometry.toBase64() ) ) );
|
opt.appendChild( dd.createTextNode( QString::fromLatin1( c.mainWindowGeometry.toBase64() ) ) );
|
||||||
root.appendChild( opt );
|
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 = dd.createElement( "dictInfoGeometry" );
|
||||||
opt.appendChild( dd.createTextNode( QString::fromLatin1( c.dictInfoGeometry.toBase64() ) ) );
|
opt.appendChild( dd.createTextNode( QString::fromLatin1( c.dictInfoGeometry.toBase64() ) ) );
|
||||||
root.appendChild( opt );
|
root.appendChild( opt );
|
||||||
|
|
|
@ -695,8 +695,6 @@ struct Class
|
||||||
QByteArray dictInfoGeometry; // Geometry of "Dictionary info" window
|
QByteArray dictInfoGeometry; // Geometry of "Dictionary info" window
|
||||||
QByteArray inspectorGeometry; // Geometry of WebKit inspector window
|
QByteArray inspectorGeometry; // Geometry of WebKit inspector window
|
||||||
QByteArray dictionariesDialogGeometry; // Geometry of Dictionaries dialog
|
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 historyExportPath; // Path for export/import history
|
||||||
QString resourceSavePath; // Path to save images/audio
|
QString resourceSavePath; // Path to save images/audio
|
||||||
|
|
Loading…
Reference in a new issue