diff options
author | B. Watson | 2020-01-27 01:33:18 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2020-02-01 03:00:29 +0100 |
commit | e25f38763ae612417b26c47d06e1539a93d92d76 (patch) | |
tree | afc23bcd06542ae537b295406e36b1b75abd306f /office/coolreader/inifile.diff | |
parent | 5c6cc94a480443696061fc9f47b8c89d3e6b879a (diff) | |
download | slackbuilds-e25f38763ae612417b26c47d06e1539a93d92d76.tar.gz |
office/coolreader: New maintainer.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'office/coolreader/inifile.diff')
-rw-r--r-- | office/coolreader/inifile.diff | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/office/coolreader/inifile.diff b/office/coolreader/inifile.diff new file mode 100644 index 0000000000..9290599e69 --- /dev/null +++ b/office/coolreader/inifile.diff @@ -0,0 +1,21 @@ +diff -Naur cr3.0.56-7/cr3qt/src/mainwindow.cpp cr3.0.56-7.patched/cr3qt/src/mainwindow.cpp +--- cr3.0.56-7/cr3qt/src/mainwindow.cpp 2012-03-21 01:39:19.000000000 -0400 ++++ cr3.0.56-7.patched/cr3qt/src/mainwindow.cpp 2020-01-26 19:26:09.590595122 -0500 +@@ -79,7 +79,6 @@ + QString bookmarksDir = homeDir + "bookmarks"; + QString histFile = exeDir + "cr3hist.bmk"; + QString histFile2 = homeDir + "cr3hist.bmk"; +- QString iniFile2 = exeDir + "cr3.ini"; + QString iniFile = homeDir + "cr3.ini"; + QString cssFile = homeDir + "fb2.css"; + QString cssFile2 = exeDir + "fb2.css"; +@@ -91,8 +90,7 @@ + + ldomDocCache::init( qt2cr( cacheDir ), DOC_CACHE_SIZE ); + ui->view->setPropsChangeCallback( this ); +- if ( !ui->view->loadSettings( iniFile ) ) +- ui->view->loadSettings( iniFile2 ); ++ ui->view->loadSettings( iniFile ); + if ( !ui->view->loadHistory( histFile ) ) + ui->view->loadHistory( histFile2 ); + if ( !ui->view->loadCSS( cssFile ) ) |