Changeset 23:0568f64da6a9 in SMSSender for src/ui/UIHelper.cpp


Ignore:
Timestamp:
Jun 30, 2009 9:15:01 PM (13 years ago)
Author:
Sämy Zehnder <saemy.zehnder@…>
Branch:
3.0
Convert:
svn:3639001d-8e34-449c-bb86-3782b86c4877/branches/3.0@21
Message:
  • Renamed SMSSender into smssender
  • Added blank image ressource
  • UIUtils returns now a QImage with no content instead of NULL.
  • typeconvert has now a new function called isChildOf (But I'm not sure, if this realy works... ;) )
  • VCMain handles now properly the recipients (add / remove contacts or whole groups)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ui/UIHelper.cpp

    r19 r23  
    1616
    1717IBinary* UIHelper::QImageToBinary(const QImage& image) {
     18    if (image.isNull()){
     19        return new BCBinary();
     20    }
     21
    1822    QByteArray ba;
    1923    QBuffer buffer(&ba);
     
    2731QImage* UIHelper::BinaryToQImage(const IBinary& binary) {
    2832    if ((&binary == NULL) || (binary.size() == 0)) {
    29         return NULL;
     33        return new QImage();
    3034    }
    3135    QByteArray ba(binary.data(), binary.size());
Note: See TracChangeset for help on using the changeset viewer.