demos/embedded/desktopservices/desktopwidget.cpp
changeset 37 758a864f9613
parent 18 2f34d5167611
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
    71                    ":/resources/music.png");
    71                    ":/resources/music.png");
    72     tabWidget->addTab(musicTab, tr("Music"));
    72     tabWidget->addTab(musicTab, tr("Music"));
    73 
    73 
    74     // Links
    74     // Links
    75     LinkTab* othersTab = new LinkTab(tabWidget);;
    75     LinkTab* othersTab = new LinkTab(tabWidget);;
    76     // Given icon file will be overriden by LinkTab
    76     // Given icon file will be overridden by LinkTab
    77     othersTab->init(QDesktopServices::PicturesLocation, "", "");
    77     othersTab->init(QDesktopServices::PicturesLocation, "", "");
    78     tabWidget->addTab(othersTab, tr("Links"));
    78     tabWidget->addTab(othersTab, tr("Links"));
    79 
    79 
    80     // Layout
    80     // Layout
    81     QVBoxLayout *layout = new QVBoxLayout;
    81     QVBoxLayout *layout = new QVBoxLayout;