Skip to content

Commit

Permalink
Preventted QT slot errors from occuring. Refs #7866.
Browse files Browse the repository at this point in the history
  • Loading branch information
jawrainey committed Oct 16, 2013
1 parent 3fa4725 commit 4888460
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ namespace MantidQt
//connect(m_uiForm.closeButton,SIGNAL(clicked()),this,SLOT(onClose()));
connect(m_uiForm.advSearchtableWidget,SIGNAL(itemDoubleClicked(QTableWidgetItem* )),
this,SLOT(investigationSelected(QTableWidgetItem* )));
connect(this,SIGNAL(error(const QString&)),parent()->parent(),SLOT(writeErrorToLogWindow(const QString& )));
connect(m_uiForm.startdatetoolButton,SIGNAL(clicked()),this,SLOT(popupCalendar()));
connect(m_uiForm.enddatetoolButton,SIGNAL(clicked()),this,SLOT(popupCalendar()));
connect(m_uiForm.helpButton,SIGNAL(clicked()),this,SLOT(helpButtonClicked()));
Expand Down
2 changes: 0 additions & 2 deletions Code/Mantid/MantidQt/MantidWidgets/src/ICatInvestigation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ namespace MantidQt
connect(m_uiForm.downloadButton,SIGNAL(clicked()),this,SLOT(onDownload()));
//load button clicked
connect(m_uiForm.LoadButton,SIGNAL(clicked()),this,SLOT(onLoad()));
/// send error mesages to logwindow
connect(this,SIGNAL(error(const QString&,int) ),parent()->parent(),SLOT(writeErrorToLogWindow(const QString&)));
//execute loadraw asynchronously
connect(this,SIGNAL(loadRawAsynch(const QString&,const QString&)),parent()->parent(),SLOT(executeLoadRawAsynch(const QString&,const QString& )));
//execute loadnexus asynchronously
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ namespace MantidQt
{
m_uiForm.setupUi(this);

connect(this,SIGNAL(error(const QString&)),parent()->parent(),SLOT(writeErrorToLogWindow(const QString&)));
connect(m_uiForm.myDatatableWidget,SIGNAL(itemDoubleClicked(QTableWidgetItem* )),
this,SLOT(investigationSelected(QTableWidgetItem* )));

Expand Down
1 change: 0 additions & 1 deletion Code/Mantid/MantidQt/MantidWidgets/src/ICatSearch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ namespace MantidQt
"background-repeat: repeat-y; width: 17px; height:20px;} ";
m_uiForm.Instrument->setStyleSheet(str);

connect(this,SIGNAL(error(const QString&)),parent()->parent(),SLOT(writeErrorToLogWindow(const QString&)));
try
{
populateInstrumentBox();
Expand Down

0 comments on commit 4888460

Please sign in to comment.