diff --git a/src/common/filetype.hh b/src/common/filetype.hh index f111c580..f63d9521 100644 --- a/src/common/filetype.hh +++ b/src/common/filetype.hh @@ -24,7 +24,6 @@ bool isNameOfVideo( string const & ); bool isNameOfPicture( string const & ); /// Returns true if the name resembles the one of a .tiff file (i.e. ends /// with .tif or tiff). We have this one separately since we need to reconvert -/// TIFF files as WebKit doesn't seem to support them. bool isNameOfTiff( string const & ); /// Returns true if the name resembles the one of a .css file bool isNameOfCSS( string const & ); diff --git a/src/config.hh b/src/config.hh index 4d014fd2..add8bf4a 100644 --- a/src/config.hh +++ b/src/config.hh @@ -864,7 +864,7 @@ struct Class QByteArray popupWindowState; // Binary state saved by QMainWindow QByteArray popupWindowGeometry; // Geometry saved by QMainWindow QByteArray dictInfoGeometry; // Geometry of "Dictionary info" window - QByteArray inspectorGeometry; // Geometry of WebKit inspector window + QByteArray inspectorGeometry; // Geometry of Web Engine inspector window QByteArray dictionariesDialogGeometry; // Geometry of Dictionaries dialog QString historyExportPath; // Path for export/import history diff --git a/src/stylesheets/article-style-st-classic.css b/src/stylesheets/article-style-st-classic.css index a861aaf8..f51feedd 100644 --- a/src/stylesheets/article-style-st-classic.css +++ b/src/stylesheets/article-style-st-classic.css @@ -126,8 +126,7 @@ div.sdct_h { } .sdict_h_wav img { - /* Ugly hack since "vertical-align: middle;" looks _terrible_ in Qt4's webkit: */ - vertical-align: -30%; + vertical-align: middle; } /* StarDict type 'm' -- Pure meaning. Presented as
 */
@@ -444,16 +443,14 @@ div.xdxf {
 }
 
 .dsl_s_wav img {
-  /* Ugly hack since "vertical-align: middle;" looks _terrible_ in Qt4's webkit: */
-  vertical-align: -30%;
+  vertical-align: middle;
 }
 
 .dsl_video .img {
   display: inline-block;
   background: url("qrc:///icons/video.png");
   background-repeat: no-repeat;
-  /* Ugly hack since "vertical-align: middle;" looks _terrible_ in Qt4's webkit: */
-  vertical-align: -30%;
+  vertical-align: middle;
   width: 22px;
   height: 22px;
   margin: 0;
@@ -2978,6 +2975,5 @@ table#sv-hooks,
 }
 
 .gls_wav img {
-  /* Ugly hack since "vertical-align: middle;" looks _terrible_ in Qt4's webkit: */
-  vertical-align: -30%;
+  vertical-align: middle;
 }
diff --git a/src/stylesheets/article-style.css b/src/stylesheets/article-style.css
index c566dd7b..fef811a5 100644
--- a/src/stylesheets/article-style.css
+++ b/src/stylesheets/article-style.css
@@ -163,8 +163,7 @@ div.sdct_h {
 }
 
 .sdict_h_wav img {
-  /* Ugly hack since "vertical-align: middle;" looks _terrible_ in Qt4's webkit: */
-  vertical-align: -30%;
+  vertical-align: middle;
 }
 
 /* StarDict type 'm' -- Pure meaning. Presented as 
 */
@@ -492,16 +491,14 @@ div.xdxf {
 }
 
 .dsl_s_wav img {
-  /* Ugly hack since "vertical-align: middle;" looks _terrible_ in Qt4's webkit: */
-  vertical-align: -30%;
+  vertical-align: middle;
 }
 
 .dsl_video .img {
   display: inline-block;
   background: url("qrc:///icons/video.png");
   background-repeat: no-repeat;
-  /* Ugly hack since "vertical-align: middle;" looks _terrible_ in Qt4's webkit: */
-  vertical-align: -30%;
+  vertical-align: middle;
   width: 22px;
   height: 22px;
   margin: 0;
@@ -3047,6 +3044,5 @@ table#sv-hooks,
 }
 
 .gls_wav img {
-  /* Ugly hack since "vertical-align: middle;" looks _terrible_ in Qt4's webkit: */
-  vertical-align: -30%;
+  vertical-align: middle;
 }
diff --git a/src/ui/articleview.cc b/src/ui/articleview.cc
index 913d0209..9720cbe5 100644
--- a/src/ui/articleview.cc
+++ b/src/ui/articleview.cc
@@ -471,7 +471,7 @@ void ArticleView::loadFinished( bool result )
 
 void ArticleView::handleTitleChanged( QString const & title )
 {
-  if ( !title.isEmpty() ) // Qt 5.x WebKit raise signal titleChanges(QString()) while navigation within page
+  if ( !title.isEmpty() )
     emit titleChanged( this, title );
 }