author | umopapisdn <umopapisdn> | 2002-09-28 22:30:24 (UTC) |
---|---|---|
committer | umopapisdn <umopapisdn> | 2002-09-28 22:30:24 (UTC) |
commit | 551661da944e2b93cff73317d6fb6eaffe5f7102 (patch) (side-by-side diff) | |
tree | 29f415d63bad6727920e392efc3dfe201da80bb5 | |
parent | aa347496d408431d85ff2d7a2cf60479407620af (diff) | |
download | opie-551661da944e2b93cff73317d6fb6eaffe5f7102.zip opie-551661da944e2b93cff73317d6fb6eaffe5f7102.tar.gz opie-551661da944e2b93cff73317d6fb6eaffe5f7102.tar.bz2 |
User icons can be selected.
-rw-r--r-- | noncore/settings/usermanager/userdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/usermanager/userdialog.cpp b/noncore/settings/usermanager/userdialog.cpp index c6b8a57..719dd1e 100644 --- a/noncore/settings/usermanager/userdialog.cpp +++ b/noncore/settings/usermanager/userdialog.cpp @@ -321,34 +321,34 @@ bool UserDialog::editUser(const char *username) { } /** * "OK" has been clicked. Verify some information before closing the dialog. * */ void UserDialog::accept() { // Add checking... valid username? username taken? if(loginLineEdit->text().isEmpty()) { QMessageBox::information(0,"Empty Login","Please enter a login."); return; } QDialog::accept(); } /** * This slot is called when the usericon is clicked, this loads (should) the iconselector. * */ void UserDialog::clickedPicture() { QString filename=OFileDialog::getOpenFileName(OFileSelector::EXTENDED,"/opt/QtPalmtop/pics"); if(!(filename.isEmpty())) { userImage.reset(); if(!(userImage.load(filename))) { - QMessageBox::information(0,"Sorry!","Icon selection not yet implemented.\nComming real soon now! (tm)\n"+filename); + QMessageBox::information(0,"Sorry!","That icon could not be loaded.\nLoading failed on: "+filename); } else { userImage=userImage.smoothScale(48,48); QPixmap *picture; picture=(QPixmap *)picturePushButton->pixmap(); picture->convertFromImage(userImage,0); picturePushButton->update(); } } } |