Changeset 6221 for trunk/qt4-gui/src/dialogs/adduserdlg.cpp
- Timestamp:
- 05/26/08 05:50:34 (8 months ago)
- Files:
-
- 1 modified
-
trunk/qt4-gui/src/dialogs/adduserdlg.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt4-gui/src/dialogs/adduserdlg.cpp
r5837 r6221 21 21 #include "adduserdlg.h" 22 22 23 #include <QCheckBox> 23 24 #include <QDialogButtonBox> 24 25 #include <QGridLayout> … … 62 63 layDialog->addWidget(myUin, 1, 1); 63 64 65 myNotify = new QCheckBox(tr("Notify User")); 66 myNotify->setChecked(true); 67 layDialog->addWidget(myNotify, 2, 0, 1, 2); 68 64 69 QDialogButtonBox* buttons = new QDialogButtonBox( 65 70 QDialogButtonBox::Ok | … … 68 73 connect(buttons, SIGNAL(rejected()), SLOT(close())); 69 74 70 layDialog->setRowStretch(2, 1);71 75 layDialog->addWidget(buttons, 3, 0, 1, 2); 72 76 … … 80 84 81 85 if (!uin.isEmpty()) 82 gLicqDaemon->AddUserToList(uin.toLatin1(), myProtocol->currentPpid()); 86 gLicqDaemon->AddUserToList(uin.toLatin1(), myProtocol->currentPpid(), 87 myNotify->isChecked()); 83 88 84 89 close();
