[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdewebdev/quanta/components/debugger
From:       Laurent Montel <montel () kde ! org>
Date:       2005-07-24 9:05:57
Message-ID: 1122195957.825327.6536.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 438088 by mlaurent:

==""->isEmpty()


 M  +1 -1      dbgp/dbgpnetwork.cpp  
 M  +1 -1      debuggerbreakpoint.cpp  


--- trunk/KDE/kdewebdev/quanta/components/debugger/dbgp/dbgpnetwork.cpp \
#438087:438088 @@ -276,7 +276,7 @@
     return false;
 
   m_transaction_id++;
-  QString commandline = command + QString(" -i %1").arg(m_transaction_id) + \
(arguments != "" ? " " : "") + arguments; +  QString commandline = command + \
QString(" -i %1").arg(m_transaction_id) + (!arguments.isEmpty() ? " " : "") + \
arguments;  
   kdDebug(24002) << k_funcinfo << ", sending: " << commandline << endl;
 
--- trunk/KDE/kdewebdev/quanta/components/debugger/debuggerbreakpoint.cpp \
#438087:438088 @@ -163,7 +163,7 @@
 bool DebuggerBreakpoint::operator == (DebuggerBreakpoint bp) const
 {
   // If they key matches
-  if(m_key != "" && bp.key() == m_key)
+  if(!m_key.isEmpty() && bp.key() == m_key)
     return true;
 
   // Or everything else...


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic