mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
c005f7d4a8
commit
728d755af8
@ -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
|
||||
|
||||
|
@ -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&)));
|
||||
|
Loading…
Reference in New Issue
Block a user