From 8f40f41fef9cf985786c21ac2cbd89a1d65402b8 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 28 Feb 2010 16:07:09 +0000 Subject: [PATCH] Qt4.4 Compatibility fix (QDate::StandaloneFormat) --- src/options_imp.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/options_imp.cpp b/src/options_imp.cpp index d550c21a7..4397fe186 100644 --- a/src/options_imp.cpp +++ b/src/options_imp.cpp @@ -132,7 +132,11 @@ options_imp::options_imp(QWidget *parent):QDialog(parent){ // Load week days (scheduler) for(uint i=1; i<=7; ++i) { +#ifdef QT_4_5 schedule_days->addItem(QDate::longDayName(i, QDate::StandaloneFormat)); +#else + schedule_days->addItem(QDate::longDayName(i)); +#endif } // Load options