radioapp/radiowidgets/src/radiofrequencyitem.cpp
changeset 54 a8ba0c289b44
parent 39 ac7857bd5fdb
--- a/radioapp/radiowidgets/src/radiofrequencyitem.cpp	Mon Sep 20 18:04:48 2010 +0300
+++ b/radioapp/radiowidgets/src/radiofrequencyitem.cpp	Tue Oct 05 09:31:22 2010 +0300
@@ -25,8 +25,8 @@
 /*!
  *
  */
-RadioFrequencyItem::RadioFrequencyItem( QString frequency ) :
-    mFrequency( frequency.isEmpty() ? 0 : frequency.toInt() * FrequencyStrip::ONE_HERTZ ),
+RadioFrequencyItem::RadioFrequencyItem( uint frequency ) :
+    mFrequency( frequency == 0 ? 0 : frequency * FrequencyStrip::ONE_HERTZ ),
     mGraphicsItem( 0 )
 {
 }