Revision: 345
http://ktutorial.svn.sourceforge.net/ktutorial/?rev=345&view=rev
Author: danxuliu
Date: 2012-06-26 22:14:40 +0000 (Tue, 26 Jun 2012)
Log Message:
-----------
Include the name of the signal when reporting that the object that emits the signal to wait for is null.
Modified Paths:
--------------
trunk/ktutorial/ktutorial-library/src/WaitForSignal.cpp
Modified: trunk/ktutorial/ktutorial-library/src/WaitForSignal.cpp
===================================================================
--- trunk/ktutorial/ktutorial-library/src/WaitForSignal.cpp 2012-06-26 22:12:09 UTC (rev 344)
+++ trunk/ktutorial/ktutorial-library/src/WaitForSignal.cpp 2012-06-26 22:14:40 UTC (rev 345)
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008-2010 by Daniel Calviño Sánchez *
+ * Copyright (C) 2008-2012 by Daniel Calviño Sánchez *
* dan...@gm... *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -33,7 +33,8 @@
void WaitForSignal::setSignal(QObject* sender, const QString& signal) {
if (!sender) {
- kWarning() << "The object that emits the signal to wait for is null!";
+ kWarning() << "The object that emits the signal" << signal
+ << "to wait for is null!";
return;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|