summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-22 16:49:34 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-22 16:49:34 +0900
commit9feb16210d286da7ff1a4211d4586cdb3fcdad23 (patch)
treeeeaa266920059ce9a039bcf325d563dd5103e6a3
parenteccae8f56589504832939ead309248dfb8b2d9af (diff)
downloadtde-ebook-reader-9feb16210d286da7ff1a4211d4586cdb3fcdad23.tar.gz
tde-ebook-reader-9feb16210d286da7ff1a4211d4586cdb3fcdad23.zip
Disable network buttons, since TQt3 does not provide the required classes for the related logic
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--reader/src/reader/PreferencesPopupData.cpp2
-rw-r--r--reader/src/reader/Reader.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/reader/src/reader/PreferencesPopupData.cpp b/reader/src/reader/PreferencesPopupData.cpp
index ccc1edb..34c5efc 100644
--- a/reader/src/reader/PreferencesPopupData.cpp
+++ b/reader/src/reader/PreferencesPopupData.cpp
@@ -28,7 +28,7 @@ PreferencesPopupData::PreferencesPopupData() {
myActionIds.push_back(ActionCode::SHOW_READING_OPTIONS_DIALOG);
myActionIds.push_back(ActionCode::SHOW_LOOKANDFEEL_OPTIONS_DIALOG);
myActionIds.push_back(ActionCode::SHOW_LIBRARY_OPTIONS_DIALOG);
- myActionIds.push_back(ActionCode::SHOW_NETWORK_OPTIONS_DIALOG);
+ //myActionIds.push_back(ActionCode::SHOW_NETWORK_OPTIONS_DIALOG);
myActionIds.push_back(ActionCode::SHOW_SYSTEM_OPTIONS_DIALOG);
}
diff --git a/reader/src/reader/Reader.cpp b/reader/src/reader/Reader.cpp
index 22aa527..85d5c81 100644
--- a/reader/src/reader/Reader.cpp
+++ b/reader/src/reader/Reader.cpp
@@ -117,13 +117,13 @@ Reader::Reader(const std::string &bookToOpen) :
addAction(ActionCode::SHOW_READING, new UndoAction(Reader::ALL_MODES & ~Reader::BOOK_TEXT_MODE));
addAction(ActionCode::SHOW_LIBRARY, new SetModeAction(Reader::LIBRARY_MODE, Reader::BOOK_TEXT_MODE | Reader::CONTENTS_MODE));
- addAction(ActionCode::SHOW_NETWORK_LIBRARY, new ShowNetworkTreeLibraryAction());
+ //addAction(ActionCode::SHOW_NETWORK_LIBRARY, new ShowNetworkTreeLibraryAction());
registerPopupData(ActionCode::SHOW_LIBRARY, myRecentBooksPopupData);
addAction(ActionCode::SHOW_OPTIONS_DIALOG, new ShowOptionsDialogAction());
addAction(ActionCode::SHOW_TOC, new ShowContentsAction());
addAction(ActionCode::SHOW_BOOK_INFO_DIALOG, new ShowBookInfoAction());
addAction(ActionCode::SHOW_LIBRARY_OPTIONS_DIALOG, new ShowLibraryOptionsDialogAction());
- addAction(ActionCode::SHOW_NETWORK_OPTIONS_DIALOG, new ShowNetworkOptionsDialogAction());
+ //addAction(ActionCode::SHOW_NETWORK_OPTIONS_DIALOG, new ShowNetworkOptionsDialogAction());
addAction(ActionCode::SHOW_SYSTEM_OPTIONS_DIALOG, new ShowSystemOptionsDialogAction());
addAction(ActionCode::SHOW_READING_OPTIONS_DIALOG, new ShowReadingOptionsDialogAction());
addAction(ActionCode::SHOW_LOOKANDFEEL_OPTIONS_DIALOG, new ShowLookAndFeelOptionsDialogAction());