mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 00:56:45 +02:00
remove doubled Q_INIT_RESOURCE calls
This commit is contained in:
parent
caf50764b4
commit
41d2da8712
2 changed files with 1 additions and 5 deletions
|
@ -37,8 +37,6 @@ static BOOL CALLBACK enumWindowsCallback(HWND hWnd, LPARAM lParam) {
|
||||||
|
|
||||||
|
|
||||||
int main(int argc, const char * argv[]) {
|
int main(int argc, const char * argv[]) {
|
||||||
Q_INIT_RESOURCE(fonts);
|
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
// Run only one instance of Interface at a time.
|
// Run only one instance of Interface at a time.
|
||||||
HANDLE mutex = CreateMutex(NULL, FALSE, "High Fidelity Interface");
|
HANDLE mutex = CreateMutex(NULL, FALSE, "High Fidelity Interface");
|
||||||
|
|
|
@ -209,9 +209,7 @@ void QTestWindow::draw() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char** argv) {
|
int main(int argc, char** argv) {
|
||||||
Q_INIT_RESOURCE(fonts);
|
|
||||||
|
|
||||||
QApplication app(argc, argv);
|
QApplication app(argc, argv);
|
||||||
QTestWindow window;
|
QTestWindow window;
|
||||||
QTimer timer;
|
QTimer timer;
|
||||||
|
|
Loading…
Reference in a new issue