diff --git a/workspace.cpp b/workspace.cpp index 83197cb791..a6ba98639d 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -12,6 +12,7 @@ Copyright (C) 1999, 2000 Matthias Ettrich #include #include #include +#include #include #include #include @@ -1547,7 +1548,8 @@ void Workspace::doNotManage( QString title ) bool Workspace::isNotManaged( const QString& title ) { for ( QStringList::Iterator it = doNotManageList.begin(); it != doNotManageList.end(); ++it ) { - if ( (*it) == title ) { + QRegExp r( (*it) ); + if (r.match(title) != -1) { doNotManageList.remove( it ); return TRUE; }