[rkward-cvs] rkward/rkward/windows rkcommandeditorwindowpart.cpp,1.3,1.4

Thomas Friedrichsmeier tfry at users.sourceforge.net
Thu Sep 29 16:02:53 UTC 2005


Update of /cvsroot/rkward/rkward/rkward/windows
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6449/rkward/windows

Modified Files:
	rkcommandeditorwindowpart.cpp 
Log Message:
Code cleanups, focus: replacing "" with QString::null / QString.isEmpty (). Fix credits

Index: rkcommandeditorwindowpart.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/windows/rkcommandeditorwindowpart.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** rkcommandeditorwindowpart.cpp	17 Sep 2005 18:04:00 -0000	1.3
--- rkcommandeditorwindowpart.cpp	29 Sep 2005 16:02:51 -0000	1.4
***************
*** 62,66 ****
  	if (command_editor->getSelection ().isEmpty () || command_editor->getSelection ().isNull ()) return;
  
! 	RKGlobals::rInterface ()->issueCommand (new RCommand (command_editor->getSelection (), RCommand::User, ""));
  }
  
--- 62,66 ----
  	if (command_editor->getSelection ().isEmpty () || command_editor->getSelection ().isNull ()) return;
  
! 	RKGlobals::rInterface ()->issueCommand (new RCommand (command_editor->getSelection (), RCommand::User, QString::null));
  }
  
***************
*** 70,74 ****
  	if (command_editor->getLine ().isEmpty () || command_editor->getLine().isNull ()) return;
  
! 	RKGlobals::rInterface ()->issueCommand (new RCommand (command_editor->getLine (), RCommand::User, ""));
  }
  
--- 70,74 ----
  	if (command_editor->getLine ().isEmpty () || command_editor->getLine().isNull ()) return;
  
! 	RKGlobals::rInterface ()->issueCommand (new RCommand (command_editor->getLine (), RCommand::User, QString::null));
  }
  
***************
*** 79,83 ****
  	if (command_editor->getText ().isEmpty () || command_editor->getText ().isNull ()) return;
  		
! 	RKGlobals::rInterface ()->issueCommand (new RCommand (command_editor->getText (), RCommand::User, ""));
  }
  
--- 79,83 ----
  	if (command_editor->getText ().isEmpty () || command_editor->getText ().isNull ()) return;
  		
! 	RKGlobals::rInterface ()->issueCommand (new RCommand (command_editor->getText (), RCommand::User, QString::null));
  }
  





More information about the rkward-tracker mailing list