[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeaddons/konq-plugins/webarchiver
From: Pascal Létourneau <pletourn () globetrotter ! net>
Date: 2004-09-02 21:42:54
Message-ID: 20040902214254.914711EFF () office ! kde ! org
[Download RAW message or body]
CVS commit by pletourn:
Squeeze the urls (temporary fix)
M +3 -2 archivedialog.cpp 1.13
--- kdeaddons/konq-plugins/webarchiver/archivedialog.cpp #1.12:1.13
@@ -42,4 +42,5 @@
#include <kurllabel.h>
#include <kprogress.h>
+#include <kstringhandler.h>
#undef DEBUG_WAR
@@ -57,6 +58,6 @@ ArchiveDialog::ArchiveDialog(QWidget *pa
setWFlags(getWFlags() | WDestructiveClose);
- m_widget->urlLabel->setText(QString("<a \
href=\"")+m_url.url()+"\">"+m_url.url()+"</a>");
- m_widget->targetLabel->setText(QString("<a \
href=\"")+filename+"\">"+filename+"</a>"); + \
m_widget->urlLabel->setText(QString("<a \
href=\"")+m_url.url()+"\">"+KStringHandler::csqueeze( m_url.url(), 80 )+"</a>"); + \
m_widget->targetLabel->setText(QString("<a \
href=\"")+filename+"\">"+KStringHandler::csqueeze( filename, 80 )+"</a>");
if(part->document().ownerDocument().isNull())
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic