mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
14 lines
350 B
C++
14 lines
350 B
C++
#include <QApplication>
|
|
#include "mainwindow.h"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
QApplication a(argc, argv);
|
|
// Qt sets the locale in the QApplication constructor, but libmpv requires
|
|
// the LC_NUMERIC category to be set to "C", so change it back.
|
|
setlocale(LC_NUMERIC, "C");
|
|
MainWindow w;
|
|
w.show();
|
|
return a.exec();
|
|
}
|