Revision: 277
http://ktutorial.svn.sourceforge.net/ktutorial/?rev=277&view=rev
Author: danxuliu
Date: 2010-10-18 17:41:37 +0000 (Mon, 18 Oct 2010)
Log Message:
-----------
Fix "unused variable" compilation warning.
Modified Paths:
--------------
trunk/ktutorial/ktutorial-library/tests/editorsupport/EditorSupportAdaptorTest.cpp
Modified: trunk/ktutorial/ktutorial-library/tests/editorsupport/EditorSupportAdaptorTest.cpp
===================================================================
--- trunk/ktutorial/ktutorial-library/tests/editorsupport/EditorSupportAdaptorTest.cpp 2010-10-18 15:39:12 UTC (rev 276)
+++ trunk/ktutorial/ktutorial-library/tests/editorsupport/EditorSupportAdaptorTest.cpp 2010-10-18 17:41:37 UTC (rev 277)
@@ -150,7 +150,7 @@
EditorSupportAdaptor* adaptor = new EditorSupportAdaptor(&editorSupport);
//Tutorial* must be registered in order to be used with QSignalSpy
- int tutorialStarType = qRegisterMetaType<Tutorial*>("Tutorial*");
+ qRegisterMetaType<Tutorial*>("Tutorial*");
QSignalSpy startedSpy(&editorSupport, SIGNAL(started(Tutorial*)));
adaptor->testScriptedTutorial(temporaryFile.fileName());
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|