summaryrefslogtreecommitdiffstats
path: root/quanta/components/csseditor/cssselector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/components/csseditor/cssselector.cpp')
-rw-r--r--quanta/components/csseditor/cssselector.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/quanta/components/csseditor/cssselector.cpp b/quanta/components/csseditor/cssselector.cpp
index 2598336c..316a8db4 100644
--- a/quanta/components/csseditor/cssselector.cpp
+++ b/quanta/components/csseditor/cssselector.cpp
@@ -324,15 +324,15 @@ void CSSSelector::loadCSSContent(const TQString& s){
for ( it = m_currentStylesheetStructure.begin(); it != m_currentStylesheetStructure.end(); ++it ) {
if(!it.key().startsWith("@rule") && !it.key().startsWith("/*")){
TQListViewItem *item;
- if(it.key().tqcontains(":")){
+ if(it.key().contains(":")){
item = new TQListViewItem(lvPseudo);
}
else
- if(it.key().tqcontains("#")){
+ if(it.key().contains("#")){
item = new TQListViewItem(lvIDs);
}
else
- if(it.key().tqcontains(".")){
+ if(it.key().contains(".")){
item = new TQListViewItem(lvClasses);
}
else {