mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-14 12:20:32 +02:00
Fix out of Range
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
IntelliInputDialog::IntelliInputDialog(QEventLoop* Loop, QString Title, QString Label, int value, int minValue, int maxValue, int step)
|
IntelliInputDialog::IntelliInputDialog(QEventLoop* Loop, QString Title, QString Label, int value, int minValue, int maxValue, int step)
|
||||||
{
|
{
|
||||||
|
this->valueInt = value;
|
||||||
createInputBox(Title, Label, value, minValue, maxValue, step);
|
createInputBox(Title, Label, value, minValue, maxValue, step);
|
||||||
createConnections(Loop);
|
createConnections(Loop);
|
||||||
setValuesOfPalette();
|
setValuesOfPalette();
|
||||||
@@ -91,5 +92,5 @@ void IntelliInputDialog::slotCloseEvent(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
void IntelliInputDialog::slotEingabe(){
|
void IntelliInputDialog::slotEingabe(){
|
||||||
valueInt= QString("%1").arg(Input->value()).toInt();
|
valueInt = QString("%1").arg(Input->value()).toInt();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user