kopia lustrzana https://gitlab.com/Teuniz/DSRemote
Work in progress.
rodzic
a7eb6a1cac
commit
fcf19fb16b
2
global.h
2
global.h
|
@ -35,7 +35,7 @@
|
|||
|
||||
|
||||
#define PROGRAM_NAME "DSRemote"
|
||||
#define PROGRAM_VERSION "0.35_1801061817"
|
||||
#define PROGRAM_VERSION "0.35_1803191244"
|
||||
|
||||
#define MAX_PATHLEN 4096
|
||||
|
||||
|
|
7
main.cpp
7
main.cpp
|
@ -1,6 +1,8 @@
|
|||
|
||||
|
||||
#include <QApplication>
|
||||
#include <QStyle>
|
||||
#include <QStyleFactory>
|
||||
|
||||
#include "mainwindow.h"
|
||||
|
||||
|
@ -11,6 +13,11 @@ int main(int argc, char *argv[])
|
|||
|
||||
// app.setAttribute(Qt::AA_DontUseNativeMenuBar);
|
||||
|
||||
#if QT_VERSION >= 0x050000
|
||||
qApp->setStyle(QStyleFactory::create("Fusion"));
|
||||
#endif
|
||||
qApp->setStyleSheet("QLabel, QMessageBox { messagebox-text-interaction-flags: 5; }");
|
||||
|
||||
class UI_Mainwindow MainWindow;
|
||||
|
||||
return app.exec();
|
||||
|
|
Ładowanie…
Reference in New Issue