mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-30 09:56:14 -05:00
Corrected setLogInfo core dump state.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1176 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
83b1fc5e1f
commit
6f59bd806b
@ -170,6 +170,7 @@ int main(int argc, char *argv[])
|
||||
QObject::connect(notify,SIGNAL(configChanged()) ,w->messagesDialog ,SLOT(displayConfig() )) ;
|
||||
|
||||
QObject::connect(notify,SIGNAL(chatStatusChanged(const QString&,const QString&)),w->peersDialog,SLOT(updatePeerStatusString(const QString&,const QString&)));
|
||||
QObject::connect(notify,SIGNAL(logInfoChanged(const QString&)),w->networkDialog,SLOT(setLogInfo(QString))) ;
|
||||
|
||||
/* only show window, if not startMinimized */
|
||||
if (!startMinimised)
|
||||
|
@ -274,15 +274,9 @@ void NotifyQt::UpdateGUI()
|
||||
switch(type)
|
||||
{
|
||||
case RS_SYS_ERROR:
|
||||
cDialog->setLogInfo(QString(logMesString.c_str()));
|
||||
break;
|
||||
case RS_SYS_WARNING:
|
||||
cDialog->setLogInfo(QString(logMesString.c_str()));
|
||||
break;
|
||||
default:
|
||||
case RS_SYS_INFO:
|
||||
cDialog->setLogInfo(QString(logMesString.c_str()));
|
||||
break;
|
||||
case RS_SYS_INFO: emit logInfoChanged(QString(logMesString.c_str()));
|
||||
default:;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -68,6 +68,7 @@ class NotifyQt: public QObject, public NotifyBase
|
||||
void neighborsChanged() const ;
|
||||
void messagesChanged() const ;
|
||||
void configChanged() const ;
|
||||
void logInfoChanged(const QString&) const ;
|
||||
void chatStatusChanged(const QString&,const QString&) const ;
|
||||
#ifdef TURTLE_HOPPING
|
||||
void gotTurtleSearchResult(qulonglong search_id,TurtleFileInfo file) const ;
|
||||
|
Loading…
Reference in New Issue
Block a user