Mercurial > hg > easyhg
view main.cpp @ 31:552a49635124
Version 0.4.7. Small fix in mru list.
author | Jari Korhonen <jtkorhonen@gmail.com> |
---|---|
date | Mon, 14 Jun 2010 22:04:52 +0300 |
parents | 45bfb8dc1faf |
children | c32067cd19f8 |
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(); }