Files
sqlitebrowser/src/main.cpp
Martin Kleusberg dc54c548b7 Implement file associations on MacOS by reacting on QFileOpenEvent
Remove the deactivated MacOS dependent code for reacting on Cocoa events
for file associations from main.cpp

Try to implement the same functionality by reacting on QFileOpenEvent in
the Application class.
2014-05-15 17:52:00 +02:00

15 lines
334 B
C++

#include "Application.h"
int main( int argc, char ** argv )
{
// Create application object. All the initialisation stuff happens in there
Application a(argc, argv);
// Quit application now if user doesn't want to see the UI
if(a.dontShowMainWindow())
return 0;
// Run application
return a.exec();
}