mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Comment added and replace tabs with spaces
This commit is contained in:
@@ -222,6 +222,7 @@ ManualRideDialog::ManualRideDialog(MainWindow *mainWindow,
|
||||
glayout->addWidget(enterButton,row,1);
|
||||
glayout->addWidget(cancelButton,row,2);
|
||||
|
||||
// Mac has sizing issues. This allows it to grow bigger to fit things in.
|
||||
#ifdef Q_OS_MAC
|
||||
setMinimumHeight(275);
|
||||
setMinimumWidth(400);
|
||||
@@ -309,14 +310,14 @@ ManualRideDialog::enterClicked()
|
||||
QMessageBox::warning( this,
|
||||
tr("Values out of range"),
|
||||
tr("The values you've entered in:\n ")
|
||||
+((!distanceentry->hasAcceptableInput() && !distanceentry->text().isEmpty() )
|
||||
? " Distance (max 9999)\n " : "")
|
||||
+((!HRentry->hasAcceptableInput())
|
||||
? " Average HR (30-199 bpm)\n " : "")
|
||||
+((!BSentry->hasAcceptableInput() && !BSentry->text().isEmpty() )
|
||||
? " BikeScore (max 9999)\n " : "")
|
||||
+((!DPentry->hasAcceptableInput() && !DPentry->text().isEmpty() )
|
||||
? " Daniels Points (max 9999)\n " : "")
|
||||
+((!distanceentry->hasAcceptableInput() && !distanceentry->text().isEmpty() )
|
||||
? " Distance (max 9999)\n " : "")
|
||||
+((!HRentry->hasAcceptableInput())
|
||||
? " Average HR (30-199 bpm)\n " : "")
|
||||
+((!BSentry->hasAcceptableInput() && !BSentry->text().isEmpty() )
|
||||
? " BikeScore (max 9999)\n " : "")
|
||||
+((!DPentry->hasAcceptableInput() && !DPentry->text().isEmpty() )
|
||||
? " Daniels Points (max 9999)\n " : "")
|
||||
+ tr("are invalid, please fix.")
|
||||
);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user