Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (21 sloc) 0.672 kB
#include <QtGui/QApplication>
#include "mainwindow.h"
#include <QxtApplication>
int main(int argc, char *argv[])
{
/*if (!QSystemTrayIcon::isSystemTrayAvailable()) {
QMessageBox::critical(0, QObject::tr("Systray"),
QObject::tr("I couldn't detect any system tray "
"on this system."));
return 1;
}*/
QxtApplication a(argc, argv);
//QApplication a(argc, argv);
//QApplication::setQuitOnLastWindowClosed(false);
MainWindow w;
//Qt::WindowFlags flags = Qt::Sheet;
//w.setWindowFlags( flags );
//w.show();
w.showNormal();
return a.exec();
}
Jump to Line
Something went wrong with that request. Please try again.