MessageComposer:

- set focus to subject at start of MessageComposer
- sort friends by name ascending

main:
- removed signal with missing receiver


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3285 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-07-12 14:01:29 +00:00
parent c005f7d4a8
commit 728d755af8
2 changed files with 7 additions and 2 deletions

View File

@ -124,6 +124,9 @@ MessageComposer::MessageComposer(QWidget *parent, Qt::WFlags flags)
/* to hide the header */
//ui.msgSendList->header()->hide();
/* sort send list by name ascending */
ui.msgSendList->sortItems(0, Qt::AscendingOrder);
QActionGroup *grp = new QActionGroup(this);
connect(grp, SIGNAL(triggered(QAction *)), this, SLOT(textAlign(QAction *)));
@ -192,6 +195,9 @@ MessageComposer::MessageComposer(QWidget *parent, Qt::WFlags flags)
ui.clearButton->hide();
/* set focus to subject */
ui.titleEdit->setFocus();
/* Hide platform specific features */
#ifdef Q_WS_WIN

View File

@ -177,7 +177,6 @@ int main(int argc, char *argv[])
QObject::connect(notify,SIGNAL(friendsChanged()) ,w->peersDialog ,SLOT(insertPeers() )) ;
QObject::connect(notify,SIGNAL(neighborsChanged()) ,w->networkDialog ,SLOT(insertConnect() )) ;
QObject::connect(notify,SIGNAL(messagesChanged()) ,w->messagesDialog ,SLOT(insertMessages() )) ;
QObject::connect(notify,SIGNAL(configChanged()) ,w->messagesDialog ,SLOT(displayConfig() )) ;
QObject::connect(notify,SIGNAL(chatStatusChanged(const QString&,const QString&,bool)),w->peersDialog,SLOT(updatePeerStatusString(const QString&,const QString&,bool)));
QObject::connect(notify,SIGNAL(peerHasNewCustomStateString(const QString&)),w->peersDialog,SLOT(updatePeersCustomStateString(const QString&)));