mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 12:34:19 +00:00
Qt4.4 Compatibility fix (QDate::StandaloneFormat)
This commit is contained in:
parent
33f868144b
commit
8f40f41fef
@ -132,7 +132,11 @@ options_imp::options_imp(QWidget *parent):QDialog(parent){
|
|||||||
|
|
||||||
// Load week days (scheduler)
|
// Load week days (scheduler)
|
||||||
for(uint i=1; i<=7; ++i) {
|
for(uint i=1; i<=7; ++i) {
|
||||||
|
#ifdef QT_4_5
|
||||||
schedule_days->addItem(QDate::longDayName(i, QDate::StandaloneFormat));
|
schedule_days->addItem(QDate::longDayName(i, QDate::StandaloneFormat));
|
||||||
|
#else
|
||||||
|
schedule_days->addItem(QDate::longDayName(i));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load options
|
// Load options
|
||||||
|
Loading…
x
Reference in New Issue
Block a user