only include Applications by default on OS X
[ambit.git] / src / main.cpp
blob259bafc4b37b3864ebcf27ff5cca409815aa1d0c
1 /**
2 * Copyright (C) 2007 Benjamin C. Meyer
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 #include <qapplication.h>
20 #include <qicon.h>
21 #include "mainwindow.h"
23 int main(int argc, char **argv)
25 QApplication application(argc, argv);
26 application.setWindowIcon(QIcon(":/pics/ambit.png"));
27 application.setApplicationName("Ambit");
28 MainWindow window;
29 window.show();
30 return application.exec();