diff --git a/src/main.cpp b/src/main.cpp --- a/src/main.cpp +++ b/src/main.cpp @@ -24,6 +24,9 @@ #include "tooltipfilter.h" #include "version.h" +// test code +#include +#include "channelinfomodel.h" MainWindow* pMainWindow; @@ -50,5 +53,14 @@ int main(int argc, char *argv[]) qDebug() << "Revision" << VERSION_REVISION; w.show(); + + // test code + ChannelInfoModel cim(5, &a); + QTableView tv; + + tv.setModel(&cim); + + tv.show(); + return a.exec(); }