Changeset 389:42e8c6b147c8 in SMSSender


Ignore:
Timestamp:
Apr 29, 2014 10:53:18 AM (4 years ago)
Author:
Sämy Zehnder <saemy.zehnder@…>
Branch:
separation-frontend-backend
Message:
  • Removes som obsolete code.
  • Sorts the plugin list in the about dialog.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • frontend/gui/ui/about.cpp

    r382 r389  
    4545                                "Sandro Düblin<p>French translation</p>"));
    4646
    47 /*      // Logo
    48         QPixmap logo(":/img/gorrion_logo.png");
    49         logo = logo.scaledToWidth(150, Qt::SmoothTransformation);
    50     QGraphicsScene *scene = new QGraphicsScene(0, 0, logo.width(), logo.height(), this);
    51     scene->addPixmap(logo);
    52 
    53     ui.imgGorrion->setScene(scene);
    54     ui.imgGorrion->setFixedSize(logo.width(), logo.height());
    55 
    56     // SMSSender icon
    57     QPixmap ico(":/ico/smssender.png");
    58     ico = ico.scaledToWidth(48, Qt::SmoothTransformation);
    59     scene = new QGraphicsScene(0, 0, ico.width(), ico.height(), this);
    60     scene->addPixmap(ico);
    61 
    62     ui.imgSMSSender->setScene(scene);
    63     ui.imgSMSSender->setFixedWidth(ico.width());
    64     ui.imgSMSSender->setMinimumHeight(ico.height());*/
    65 
    6647    foreach(ILibrary *lib, libraries) {
    6748        ui.lstPlugins->addItem(QString("%1 (%2)").arg(lib->identificationKey()).arg(lib->version().toReadableString("%1-%2")));
    6849    }
     50    ui.lstPlugins->sortItems();
    6951
    7052    setMinimumSize(sizeHint());
Note: See TracChangeset for help on using the changeset viewer.