ui_cpu: check cpu count :)
This commit is contained in:
parent
0d34b4df40
commit
9c62b9687b
|
@ -753,7 +753,7 @@ ui_win_cpu_add(Ui *ui)
|
||||||
evas_object_show(box);
|
evas_object_show(box);
|
||||||
|
|
||||||
cpu_count = system_cpu_online_count_get();
|
cpu_count = system_cpu_online_count_get();
|
||||||
if (1 || cpu_count > 4)
|
if (cpu_count > 4)
|
||||||
_complex(ui, box);
|
_complex(ui, box);
|
||||||
else
|
else
|
||||||
_graphs(ui, box);
|
_graphs(ui, box);
|
||||||
|
|
Loading…
Reference in New Issue