1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- kink/kink.cpp- 2007-06-22 01:51:13.000000000 +0200
+++ kink/kink.cpp 2007-06-22 01:52:08.000000000 +0200
@@ -76,7 +76,7 @@
// Detect printers on parallel ports (if any)
for(int i=0; i<PARPORT_LAST_PORT; i++)
{
- callback = get_ink_level(PARPORT,i,&level);
+ callback = get_ink_level(PARPORT,"",i,&level);
switch(callback)
{
case OK:
@@ -91,7 +91,7 @@
// Detect printers on USB ports (if any)
for(int i=0; i<USB_LAST_PORT; i++)
{
- callback = get_ink_level(USB,i,&level);
+ callback = get_ink_level(USB,"",i,&level);
switch(callback)
{
case OK:
@@ -202,7 +202,7 @@
grpError->hide();
grpLevels->show();
- callback=get_ink_level(last_type,last_port,&level);
+ callback=get_ink_level(last_type,"",last_port,&level);
if (callback == OK)
{
QProgressBar* ptrBar = 0;
|