alarmui/alarmalertwidget/alarmalertplugin/src/alarmalertwidget_p.cpp
changeset 68 a5a1242fd2e8
parent 58 ef813d54df51
child 77 b0711afde476
--- a/alarmui/alarmalertwidget/alarmalertplugin/src/alarmalertwidget_p.cpp	Wed Aug 18 09:47:38 2010 +0300
+++ b/alarmui/alarmalertwidget/alarmalertplugin/src/alarmalertwidget_p.cpp	Thu Sep 02 20:25:23 2010 +0300
@@ -417,12 +417,6 @@
 			qFatal("Unable to find the alarmDate label");
 		}
 		alarmDate->setPlainText(mAlarmDate);
-		HbLabel *alarmDateNonTimed = qobject_cast<HbLabel*> (
-				mAlertDocLoader->findWidget("nonTimedAlarmDate"));
-		if (!alarmDateNonTimed) {
-			qFatal("Unable to find the nonTimedAlarmDate label");
-		}
-		alarmDateNonTimed->hide();
 	}else {
 		mAlertDocLoader->load(
 				alarmNormalUICalendarDocml, "nonTimedAlarm",&success);
@@ -440,13 +434,7 @@
 		if (!alarmDate) {
 			qFatal("Unable to find the alarmDate label");
 		}
-		alarmDate->hide();
-		HbLabel *alarmDateNonTimed = qobject_cast<HbLabel*> (
-				mAlertDocLoader->findWidget("nonTimedAlarmDate"));
-		if (!alarmDateNonTimed) {
-			qFatal("Unable to find the alarmDateNonTimed label");
-		}
-		alarmDateNonTimed->setPlainText(mAlarmDate);
+		alarmDate->setPlainText(mAlarmDate);
 	}
 
 	QGraphicsWidget *headingWidget = mAlertDocLoader->findWidget("heading");