Mercurial > hg > easyhg
view main.cpp @ 46:bd3accba9b3f
* Better layout for branches; spline connection paths
author | Chris Cannam |
---|---|
date | Wed, 10 Nov 2010 17:11:41 +0000 |
parents | c32067cd19f8 |
children | c76782c14371 |
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(); }