/[qspeakers]/main.cpp
ViewVC logotype

Contents of /main.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 72 - (show annotations)
Sat Oct 25 23:40:13 2014 UTC (7 years, 1 month ago) by ben
File size: 384 byte(s)
fix save/import behaviour
1 #include "mainwindow.h"
2 #include "importexport.h"
3 #include <QApplication>
4
5 int main(int argc, char *argv[])
6 {
7 QApplication a(argc, argv);
8 a.setOrganizationName("Herewe");
9 a.setOrganizationDomain("herewe");
10 a.setApplicationName("QSpeakers");
11
12 if (argc > 1)
13 ImportExport::setSavePath(argv[argc - 1]);
14
15 MainWindow w;
16 w.show();
17
18 return a.exec();
19 }

  ViewVC Help
Powered by ViewVC 1.1.26