summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--library/tzselect.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/library/tzselect.cpp b/library/tzselect.cpp
index 2e5a433..335037e 100644
--- a/library/tzselect.cpp
+++ b/library/tzselect.cpp
@@ -31,2 +31,4 @@
#include <qcopchannel_qws.h>
+#include <qpe/qpeapplication.h>
+#include <qmessagebox.h>
@@ -246,4 +248,8 @@ void TimeZoneSelector::slotExecute( void )
{
- // execute the world time application...
+ // execute the world time application...
+ if (QFile::exists(QPEApplication::qpeDir()+"bin/citytime"))
Global::execute( "citytime" );
+ else
+ QMessageBox::warning(this,tr("citytime executable not found"),
+ tr("In order to choose the time zones,\nplease install citytime."));
}