Mercurial > hg > easyhg
view main.cpp @ 51:bf3ab0ffb559
* some preliminaries for thinking about use of date in row layout
author | Chris Cannam |
---|---|
date | Thu, 11 Nov 2010 22:27:24 +0000 |
parents | c76782c14371 |
children | f583e44d9d31 |
line wrap: on
line source
/**************************************************************************** ** Copyright (C) Jari Korhonen, 2010 (under lgpl) ****************************************************************************/ #include <QApplication> #ifdef Q_WS_X11 #include <QCleanlooksStyle> #endif #ifdef Q_WS_WIN #include <QWindowsXPStyle> #endif #include "mainwindow.h" int main(int argc, char *argv[]) { Q_INIT_RESOURCE(hgexplorer); QApplication app(argc, argv); app.setApplicationName(APPNAME); /*!!! #ifdef Q_WS_X11 app.setStyle(new QCleanlooksStyle); #endif #ifdef Q_WS_WIN app.setStyle(new QWindowsXPStyle); #endif */ MainWindow mainWin; mainWin.show(); return app.exec(); }