[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenetwork/krdc
From: Adrian Schroeter <adrian () suse ! de>
Date: 2003-11-09 18:54:31
[Download RAW message or body]
CVS commit by adrian:
add fallback to parse also slp entries without appended attribs
openslp do not accept the attributes in the URL inside the slp.reg file,
but via slptool
M +6 -2 srvlocmaindialog.cpp 1.4
--- kdenetwork/krdc/srvlocmaindialog.cpp #1.3:1.4
@@ -185,7 +185,11 @@ void SrvLocMainDialog::rescan() {
void SrvLocMainDialog::foundService(QString url, int) {
- QRegExp rx("^service:remotedesktop\\.kde:(\\w+)://([^;]+);(.*)$");
+ QRegExp rx( "^service:remotedesktop\\.kde:(\\w+)://([^;]+);(.*)$" );
+
+ if (rx.search(url) < 0){
+ rx = QRegExp( "^service:remotedesktop\\.kde:(\\w+)://(.*)$" );
if (rx.search(url) < 0)
return;
+ }
QMap<QString,QString> map;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic