Skip to content

Commit

Permalink
Solved: BUG: Forms identifizieren sich über Rand. Diese liegt bei
Browse files Browse the repository at this point in the history
FillReportForm zu nah beieinander.
  • Loading branch information
loaded02 committed Sep 24, 2014
1 parent 240fba8 commit ebeea42
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ICF_Report.pro.user
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 3.0.1, 2014-09-23T16:38:15. -->
<!-- Written by QtCreator 3.0.1, 2014-09-24T12:13:55. -->
<qtcreator>
<data>
<variable>ProjectExplorer.Project.ActiveTarget</variable>
Expand Down
1 change: 0 additions & 1 deletion TODO
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
====Wichtig===========
->BUG: Forms identifizieren sich über Rand. Diese liegt bei FillReportForm zu nah beieinander.
-ContextFactors: Adjust Values in Form
====Weniger Wichtig===
-CB Pat/Ther: k.A. falls T/P gelöscht wurde
Expand Down
2 changes: 1 addition & 1 deletion gui_functionform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ GUI_FunctionForm::GUI_FunctionForm(QWidget *parent) :
ui(new Ui::GUI_FunctionForm)
{
ui->setupUi(this);
srand(time(NULL));
}

GUI_FunctionForm::~GUI_FunctionForm()
Expand Down Expand Up @@ -130,7 +131,6 @@ void GUI_FunctionForm::addIcfCodeToCb(const QString &arg1)

void GUI_FunctionForm::on_comboBox_currentIndexChanged(const QString &arg1)
{
srand(time(NULL));
rnd = rand();
emit idChanged(arg1, rnd);
}

0 comments on commit ebeea42

Please sign in to comment.