Disable network buttons, since TQt3 does not provide the required classes for the related logic

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 4 months ago
parent eccae8f565
commit 9feb16210d
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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);
}

@ -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());

Loading…
Cancel
Save