1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
--- misc_settings.cpp.orig 2013-09-06 21:04:22.406221919 +0000
+++ misc_settings.cpp 2013-09-06 21:01:01.927900734 +0000
@@ -74,17 +74,17 @@
// miscsettings_2->addChild(HostZipcode());
TimezoneRegion *timezoneregion = new TimezoneRegion();
- TimezoneButton *timezonebutton = new TimezoneButton();
+// TimezoneButton *timezonebutton = new TimezoneButton();
VerticalConfigurationGroup* miscsettings =
new VerticalConfigurationGroup(false, true,false,false);
- miscsettings->addChild(timezonebutton);
+// miscsettings->addChild(timezonebutton);
if ( showLabels && ( hostparm.ThisTimeZone != "" ))
{
if (MVAPP)
{
miscsettings->addChild(temptimezone);
- timezonebutton->disableButton();
+// timezonebutton->disableButton();
}
else
miscsettings->addChild(timezoneregion);
@@ -104,13 +104,13 @@
- connect(timezonebutton, SIGNAL(mf_launch_tzgui()),timezoneregion ,SLOT(timezone_gathersettings()));
+// connect(timezonebutton, SIGNAL(mf_launch_tzgui()),timezoneregion ,SLOT(timezone_gathersettings()));
connect(timezoneregion,SIGNAL(mf_show_tz(QString)),this,SLOT(mf_show_tz(QString)));
connect(this,SIGNAL(update_timezone(QString)),timezoneregion,SLOT(update_timezone_values(QString)));
autoLaunchTimer = new QTimer(this);
- connect(autoLaunchTimer, SIGNAL(timeout()), timezonebutton, SLOT(launch_tzgui()));
+// connect(autoLaunchTimer, SIGNAL(timeout()), timezonebutton, SLOT(launch_tzgui()));
autoLaunchTimer->start(0);
}
@@ -191,7 +191,7 @@
//_______________Misc time timezone
-
+/*
TimezoneButton::TimezoneButton():
VerticalConfigurationGroup(false,false,false,false)
{
@@ -211,7 +211,7 @@
{
TZButton->setEnabled(false);
}
-
+*/
//This is used for the timezone
QStringList findFilesRecursively ( QStringList paths, QString fileTypes ) {
if ( fileTypes.isEmpty() ) fileTypes = "*";
|