summaryrefslogtreecommitdiffstats
path: root/kioslaves/mbox
diff options
context:
space:
mode:
Diffstat (limited to 'kioslaves/mbox')
-rw-r--r--kioslaves/mbox/Makefile.am2
-rw-r--r--kioslaves/mbox/readmbox.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/kioslaves/mbox/Makefile.am b/kioslaves/mbox/Makefile.am
index b4840ee72..13e370f44 100644
--- a/kioslaves/mbox/Makefile.am
+++ b/kioslaves/mbox/Makefile.am
@@ -12,7 +12,7 @@ kio_mbox_la_SOURCES = \
readmbox.cc \
stat.cc \
urlinfo.cc
-kio_mbox_la_LIBADD = $(LIB_KIO)
+kio_mbox_la_LIBADD = $(LIB_KIO) $(LIB_QT) $(LIB_KDECORE)
kio_mbox_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -module $(KDE_PLUGIN)
noinst_HEADERS = \
diff --git a/kioslaves/mbox/readmbox.cc b/kioslaves/mbox/readmbox.cc
index 35b24db45..7cf67e32f 100644
--- a/kioslaves/mbox/readmbox.cc
+++ b/kioslaves/mbox/readmbox.cc
@@ -104,7 +104,7 @@ bool ReadMBox::nextLine()
} else if( m_only_new )
{
if( m_header && m_current_line->left( 7 ) == "Status:" &&
- ! m_current_line->contains( "U" ) && ! m_current_line->contains( "N" ) )
+ ! m_current_line->tqcontains( "U" ) && ! m_current_line->tqcontains( "N" ) )
{
m_status = false;
}