commit 3d4a718aae24929036a98c2bec812f5fe1dbc94b Author: Dario Abatianni Date: Thu Dec 4 17:38:05 2003 +0000 Fixed compiler warning, adde ChangeLog entry svn path=/trunk/kdeextragear-2/konversation/; revision=271193 diff --git a/ChangeLog b/ChangeLog index a233073..21846ab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,7 @@ Changes from 0.13 to 0.14 - Hilight mailto: links - Topic line can now be hidden - Added an away nickname +- Added "Open URL" context menu to channel list entries Changes from 0.12 to 0.13 - Added an option to hide hostmasks in channel nick lists diff --git a/konversation/channellistpanel.cpp b/konversation/channellistpanel.cpp index 0adca5a..9a66bda 100644 --- a/konversation/channellistpanel.cpp +++ b/konversation/channellistpanel.cpp @@ -412,9 +412,9 @@ void ChannelListPanel::contextMenu (KListView* l, QListViewItem* i, const QPoint { KPopupMenu* showURLmenu = new KPopupMenu(this); showURLmenu->setTitle( i18n("Open URL") ); - + QString filteredLine(i->text(2)); - + QRegExp pattern("((http://|https://|ftp://|nntp://|news://|gopher://|www\\.|ftp\\.)" // IP Address "([0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}|"