diff options
author | Michele Calgaro <[email protected]> | 2024-07-18 10:53:58 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-07-18 10:53:58 +0900 |
commit | 014348eb159b833fa05f7f53a33b9028124c0f75 (patch) | |
tree | 65a8a3c6f89a30277261ef166fdac294326a350f /reader | |
parent | 4a065bb4cd85979125b3a937b5912105d13ba357 (diff) | |
download | tde-ebook-reader-014348eb159b833fa05f7f53a33b9028124c0f75.tar.gz tde-ebook-reader-014348eb159b833fa05f7f53a33b9028124c0f75.zip |
Fix SEGV on start and race conditions when using the popup menu from the toolbar
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'reader')
-rw-r--r-- | reader/src/reader/Reader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/reader/src/reader/Reader.cpp b/reader/src/reader/Reader.cpp index 0c15b9d..22aa527 100644 --- a/reader/src/reader/Reader.cpp +++ b/reader/src/reader/Reader.cpp @@ -85,7 +85,7 @@ Reader &Reader::Instance() { } Reader::Reader(const std::string &bookToOpen) : - ZLApplication("Reader"), + ZLApplication("tde-ebook-reader"), QuitOnCancelOption(ZLCategoryKey::CONFIG, OPTIONS, "QuitOnCancel", false), KeyScrollingDelayOption(ZLCategoryKey::CONFIG, "Scrollings", "Delay", 0, 2000, 100), LinesToScrollOption(ZLCategoryKey::CONFIG, "SmallScrolling", "LinesToScroll", 1, 20, 1), @@ -172,7 +172,7 @@ Reader::Reader(const std::string &bookToOpen) : myOpenFileHandler = new OpenFileHandler(); ZLCommunicationManager::Instance().registerHandler("openFile", myOpenFileHandler); - ZLNetworkManager::Instance().setUserAgent(std::string("Reader/") + VERSION); + //ZLNetworkManager::Instance().setUserAgent(std::string("Reader/") + VERSION); } Reader::~Reader() { |