Permalink
Browse files

how printer device type.

  • Loading branch information...
fcecconi committed Jan 28, 2013
1 parent 6558d1b commit 55d68445477bec64a214ab4b3c6de5eb8a228d4f
Showing with 6 additions and 0 deletions.
  1. BIN images/printer.png
  2. +1 −0 src/images.qrc
  3. +5 −0 src/platform/parser/parsermanager.cpp
BIN +1.71 KB images/printer.png
Binary file not shown.
@@ -6,6 +6,7 @@
<file>../images/arrow-down-double.png</file>
<file>../images/hub.png</file>
<file>../images/wap.png</file>
<file>../images/printer.png</file>
<file>../images/edit-copy.png</file>
<file>../images/Categories-applications-development-web-icon.png</file>
<file>../images/go-previous.png</file>
@@ -271,6 +271,11 @@ PObject* ParserManager::parserCore(const QStringList parList, QByteArray StdoutS
mainScanTreeElem->setIcon(0, QIcon(QString::fromUtf8(":/images/images/wap.png")));
osGuessesFound = true;
}
if (!osGuessesFound && osInfo.contains("printer")) {
mainScanTreeElem->setIcon(0, QIcon(QString::fromUtf8(":/images/images/printer.png")));
osGuessesFound = true;
}
mainScanTreeElem->setToolTip(0, mainScanTreeElem->toolTip(0) + "<br/>" + "Os: " + osInfo + '%');
}

0 comments on commit 55d6844

Please sign in to comment.