59b8ce2440
manage your configuration files very easily, which are needed by DOSBox. In addition it's also possible to create gameprofiles to generate different configuration files WWW: http://chmaster.freeforge.net/dboxfe-project.htm/ PR: ports/118495 Submitted by: Max Brazhnikov <makc at issp.ac.ru>
30 lines
1.1 KiB
C++
30 lines
1.1 KiB
C++
--- ./src/dboxfe.cpp.orig 2007-09-22 13:25:00.000000000 +0400
|
|
+++ ./src/dboxfe.cpp 2007-12-08 16:43:17.000000000 +0300
|
|
@@ -65,7 +65,7 @@
|
|
connect ( chkBoxStartTrayIcon, SIGNAL ( toggled ( bool ) ), this, SLOT ( slotChkBoxStartTrayIconToggled ( bool ) ) );
|
|
|
|
// windows title for the application
|
|
- titleLin = tr ( "DBoxFE - Front End for DOSBox 0.7x - Linux Version " ) + getAppVersion();
|
|
+ titleLin = tr ( "DBoxFE" );
|
|
titleWin = tr ( "DBoxFE - Front End for DOSBox 0.7x - Windows Version " ) + getAppVersion();
|
|
titleMac = tr ( "DBoxFE - Front End for DOSBox 0.7x - Mac Version " ) + getAppVersion();
|
|
|
|
@@ -83,18 +83,6 @@
|
|
QApplication::setStyle ( "plastique" );
|
|
#endif
|
|
|
|
-#ifdef Q_OS_UNIX
|
|
- setWindowTitle ( titleLin );
|
|
- QApplication::setStyle ( "plastique" );
|
|
-#endif
|
|
-
|
|
- // center the application on desktop screen
|
|
- QDesktopWidget *desktop = qApp->desktop();
|
|
- const QRect rect = desktop->availableGeometry ( desktop->primaryScreen() );
|
|
- int left = ( rect.width() - width() ) / 2;
|
|
- int top = ( rect.height() - height() ) / 2;
|
|
- setGeometry ( left, top, width(), height() );
|
|
-
|
|
//for future release :)
|
|
chkBoxStartTrayIcon->setVisible( false );
|
|
}
|