diff --git a/main.cc b/main.cc index 2ab8b8fc..3d866052 100644 --- a/main.cc +++ b/main.cc @@ -263,7 +263,7 @@ int main( int argc, char ** argv ) #endif - QStringList localSchemes={"gdlookup","gdau","gico","qrcx","bres","bword"}; + QStringList localSchemes={"gdlookup","gdau","gico","qrcx","bres","bword","gdprg","gdvideo","gdpicture","gdtts"}; for (int i = 0; i < localSchemes.size(); ++i) { diff --git a/mainwindow.cc b/mainwindow.cc index 299dc5aa..31a41cf7 100644 --- a/mainwindow.cc +++ b/mainwindow.cc @@ -150,7 +150,7 @@ MainWindow::MainWindow( Config::Class & cfg_ ): QWebEngineProfile::defaultProfile()->installUrlSchemeHandler("gdlookup", handler); QWebEngineProfile::defaultProfile()->installUrlSchemeHandler("bword", handler); - QStringList localSchemes={"gdau","gico","qrcx","bres"}; + QStringList localSchemes={"gdau","gico","qrcx","bres","gdprg","gdvideo","gdpicture","gdtts"}; GicoSchemeHandler *h=new GicoSchemeHandler(articleNetMgr); for(int i=0;iinstallUrlSchemeHandler(localSchemes.at(i).toLatin1(), h);