openbsd-ports/geo/qlandkarte/patches/patch-src_CCentralResources_cpp
jasper c5a58294c2 - silence a rather irritating dialog
ok pval@ (MAINTAINER)
2010-05-21 22:00:54 +00:00

23 lines
895 B
Plaintext

$OpenBSD: patch-src_CCentralResources_cpp,v 1.1 2010/05/21 22:00:54 jasper Exp $
Nuke obvious dialog, ofcourse we run UTC.
--- src/CCentralResources.cpp.orig Fri May 21 22:46:03 2010
+++ src/CCentralResources.cpp Fri May 21 22:47:16 2010
@@ -179,14 +179,7 @@ CCentralResources::CCentralResources(CMainWindow& pare
m_offsetUTC = cfg.value("environment/UTCOffset",100).toInt();
m_offsetUTCfract = cfg.value("environment/UTCOffsetFract",0).toInt();
- if(m_offsetUTC == 100) {
- QMessageBox::information(0,tr("Time offset ...")
- ,tr("QLandkarte assumes that your hardware clock is "
- "set to UTC time. You must setup the correct "
- "time offset in 'Setup->Config'")
- ,QMessageBox::Ok,QMessageBox::NoButton);
- }
- else {
+ if(m_offsetUTC != 100) {
setUTCOffset(m_offsetUTC, m_offsetUTCfract);
}