git-svn-id: svn://db.shs.com.ru/libs@565 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -90,7 +90,6 @@ void QPIIntrospector::buildDumpSection(QTreeWidgetItem * pi, PIString & str) {
|
||||
}
|
||||
|
||||
|
||||
#ifdef PIP_INTROSPECTION
|
||||
void QPIIntrospector::showInfo(const PIIntrospection::ProcessInfo & info) {
|
||||
PIString s;
|
||||
s << info.execCommand << "\n";
|
||||
@@ -100,7 +99,6 @@ void QPIIntrospector::showInfo(const PIIntrospection::ProcessInfo & info) {
|
||||
s << info.build_options.join(", ");
|
||||
labelInfo->setText(PI2QString(s));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
void QPIIntrospector::on_listApp_currentRowChanged(int r) {
|
||||
@@ -116,7 +114,6 @@ void QPIIntrospector::on_listApp_currentRowChanged(int r) {
|
||||
void QPIIntrospector::peerReceived(const PIString & from, const PIByteArray & data) {
|
||||
if (from != cur_server) return;
|
||||
//piCout << "rec" << data.size();
|
||||
#ifdef PIP_INTROSPECTION
|
||||
PIByteArray ba(data);
|
||||
if (ba.size_s() < 4) return;
|
||||
uint sign(0); ba >> sign;
|
||||
@@ -159,7 +156,6 @@ void QPIIntrospector::peerReceived(const PIString & from, const PIByteArray & da
|
||||
default: break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -181,7 +177,6 @@ void QPIIntrospector::peersChanged(const PIString & name) {
|
||||
|
||||
void QPIIntrospector::on_buttonRequest_clicked() {
|
||||
if (cur_server.isEmpty()) return;
|
||||
#ifdef PIP_INTROSPECTION
|
||||
PIIntrospection::RequiredInfo info;
|
||||
for (int i = 0; i < layoutRequestFlags->count(); ++i) {
|
||||
QCheckBox * cb = qobject_cast<QCheckBox*>(layoutRequestFlags->itemAt(i)->widget());
|
||||
@@ -192,5 +187,4 @@ void QPIIntrospector::on_buttonRequest_clicked() {
|
||||
PIByteArray ba;
|
||||
ba << PIIntrospection::sign << info;
|
||||
peer.send(cur_server, ba);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user