Changeset 10105 for fact


Ignore:
Timestamp:
01/14/11 16:16:32 (14 years ago)
Author:
ogrimm
Message:
Fixed warning if alarm server down
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/Evidence/Edd/Edd.cc

    r10082 r10105  
    512512  // Print string to plot
    513513  QwtText text(Text);
    514   text.setFont(QFont("Helvetica", 7));
     514  text.setFont(QFont("Helvetica", 8));
    515515  Stats->setValue(axisScaleDiv(QwtPlot::xBottom)->upperBound(), axisScaleDiv(QwtPlot::yLeft)->upperBound());
    516516  Stats->setLabel(text);
     
    18171817        Box.setWindowTitle("Edd Alarm");
    18181818        Box.setText("Service 'Alarm/MasterAlarm' is at " + QString::number(MasterAlarm.getInt()));
    1819         Box.setInformativeText("Shall the warning level be reset?");
     1819        Box.setInformativeText("Warn again for the same alarm level?");
    18201820        Box.setIcon(QMessageBox::Warning);
    18211821        Box.setStandardButtons(QMessageBox::Yes | QMessageBox::No);
     
    18331833  DimCurrentInfo ServerList("DIS_DNS/SERVER_LIST", NO_LINK);
    18341834  std::string Result = EvidenceServer::ToString((char *) "C", ServerList.getData(), ServerList.getSize());
    1835  
     1835
    18361836  // Warn if SERVER_LIST does not contain alarm server
    18371837  if (Result.find("Alarm@") == std::string::npos && !AlarmServerWarned) {
     
    18421842        Box.setStandardButtons(QMessageBox::Ok);
    18431843        Box.setDefaultButton(QMessageBox::Ok);
     1844        Box.exec();
    18441845
    18451846        AlarmServerWarned = true;
Note: See TracChangeset for help on using the changeset viewer.