Marc Wäckerlin 14 years ago
parent 9ce6f20adc
commit 44da3c7ed4
  1. 13
      swisssurfer/src/browser.hxx
  2. 14
      swisssurfer/src/swisssurfer_de.ts
  3. 14
      swisssurfer/src/swisssurfer_en.ts
  4. 14
      swisssurfer/src/swisssurfer_fr.ts
  5. 14
      swisssurfer/src/swisssurfer_it.ts

@ -429,8 +429,17 @@ class Browser: public QMainWindow, protected Ui::Browser {
void iconChanged() {
LOG;
QWebView* view(qobject_cast<QWebView*>(sender()));
for (int i(0); i<_tabs->count(); ++i)
if (_tabs->widget(i)==view) _tabs->setTabIcon(i, view->icon());
int index = _tabs->indexOf(view);
if (index<0) return;
QIcon icon(QWebSettings::iconForUrl(view->url()));
if (icon.isNull()) {
LOG<<"Icon for URL is Null"<<view->url();
QPixmap pixmap(QWebSettings::webGraphic
(QWebSettings::DefaultFrameIconGraphic));
if (!pixmap.isNull()) icon = pixmap;
} else icon = icon.pixmap(16, 16);
if (icon.isNull()) LOG<<"Icon is still null";
_tabs->setTabIcon(index, icon);
}
void titleChanged(const QString& text) {

@ -344,17 +344,17 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="444"/>
<location filename="browser.hxx" line="453"/>
<source>Info: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="457"/>
<location filename="browser.hxx" line="466"/>
<source>done.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="710"/>
<location filename="browser.hxx" line="719"/>
<source>%1</source>
<comment>statusbar for hovered link %1=url</comment>
<translation type="unfinished"></translation>
@ -381,22 +381,22 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="439"/>
<location filename="browser.hxx" line="448"/>
<source>%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="811"/>
<location filename="browser.hxx" line="820"/>
<source>Save File As ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="866"/>
<location filename="browser.hxx" line="875"/>
<source>authentication required</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="881"/>
<location filename="browser.hxx" line="890"/>
<source>ssl error</source>
<translation type="unfinished"></translation>
</message>

@ -344,17 +344,17 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="444"/>
<location filename="browser.hxx" line="453"/>
<source>Info: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="457"/>
<location filename="browser.hxx" line="466"/>
<source>done.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="710"/>
<location filename="browser.hxx" line="719"/>
<source>%1</source>
<comment>statusbar for hovered link %1=url</comment>
<translation type="unfinished"></translation>
@ -381,22 +381,22 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="439"/>
<location filename="browser.hxx" line="448"/>
<source>%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="811"/>
<location filename="browser.hxx" line="820"/>
<source>Save File As ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="866"/>
<location filename="browser.hxx" line="875"/>
<source>authentication required</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="881"/>
<location filename="browser.hxx" line="890"/>
<source>ssl error</source>
<translation type="unfinished"></translation>
</message>

@ -344,17 +344,17 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="444"/>
<location filename="browser.hxx" line="453"/>
<source>Info: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="457"/>
<location filename="browser.hxx" line="466"/>
<source>done.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="710"/>
<location filename="browser.hxx" line="719"/>
<source>%1</source>
<comment>statusbar for hovered link %1=url</comment>
<translation type="unfinished"></translation>
@ -381,22 +381,22 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="439"/>
<location filename="browser.hxx" line="448"/>
<source>%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="811"/>
<location filename="browser.hxx" line="820"/>
<source>Save File As ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="866"/>
<location filename="browser.hxx" line="875"/>
<source>authentication required</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="881"/>
<location filename="browser.hxx" line="890"/>
<source>ssl error</source>
<translation type="unfinished"></translation>
</message>

@ -344,17 +344,17 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="444"/>
<location filename="browser.hxx" line="453"/>
<source>Info: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="457"/>
<location filename="browser.hxx" line="466"/>
<source>done.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="710"/>
<location filename="browser.hxx" line="719"/>
<source>%1</source>
<comment>statusbar for hovered link %1=url</comment>
<translation type="unfinished"></translation>
@ -381,22 +381,22 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="439"/>
<location filename="browser.hxx" line="448"/>
<source>%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="811"/>
<location filename="browser.hxx" line="820"/>
<source>Save File As ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="866"/>
<location filename="browser.hxx" line="875"/>
<source>authentication required</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="881"/>
<location filename="browser.hxx" line="890"/>
<source>ssl error</source>
<translation type="unfinished"></translation>
</message>

Loading…
Cancel
Save