mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
opt: unify windows icon
This commit is contained in:
parent
6104a16a4b
commit
7f0cb26cda
Binary file not shown.
Before Width: | Height: | Size: 28 KiB |
|
@ -20,7 +20,6 @@
|
||||||
<file>icons/lingualibre.svg</file>
|
<file>icons/lingualibre.svg</file>
|
||||||
<file>CREDITS.txt</file>
|
<file>CREDITS.txt</file>
|
||||||
<file>icons/highlighter.png</file>
|
<file>icons/highlighter.png</file>
|
||||||
<file>icons/macicon.png</file>
|
|
||||||
<file>icons/icon32_sdict.png</file>
|
<file>icons/icon32_sdict.png</file>
|
||||||
<file>icons/icon32_aard.png</file>
|
<file>icons/icon32_aard.png</file>
|
||||||
<file>icons/expand_opt.png</file>
|
<file>icons/expand_opt.png</file>
|
||||||
|
|
|
@ -12,11 +12,7 @@ Initializing::Initializing( QWidget * parent, bool showOnStartup ): QDialog( par
|
||||||
setWindowFlags( Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint |
|
setWindowFlags( Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint |
|
||||||
Qt::WindowMinimizeButtonHint );
|
Qt::WindowMinimizeButtonHint );
|
||||||
|
|
||||||
#ifndef Q_OS_MAC
|
|
||||||
setWindowIcon( QIcon( ":/icons/programicon.png" ) );
|
setWindowIcon( QIcon( ":/icons/programicon.png" ) );
|
||||||
#else
|
|
||||||
setWindowIcon( QIcon( ":/icons/macicon.png" ) );
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if ( showOnStartup )
|
if ( showOnStartup )
|
||||||
{
|
{
|
||||||
|
|
|
@ -289,9 +289,7 @@ int main( int argc, char ** argv )
|
||||||
|
|
||||||
QHotkeyApplication::setApplicationName( "GoldenDict-ng" );
|
QHotkeyApplication::setApplicationName( "GoldenDict-ng" );
|
||||||
QHotkeyApplication::setOrganizationDomain( "https://github.com/xiaoyifang/goldendict-ng" );
|
QHotkeyApplication::setOrganizationDomain( "https://github.com/xiaoyifang/goldendict-ng" );
|
||||||
#ifndef Q_OS_MAC
|
|
||||||
QHotkeyApplication::setWindowIcon( QIcon( ":/icons/programicon.png" ) );
|
QHotkeyApplication::setWindowIcon( QIcon( ":/icons/programicon.png" ) );
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(USE_BREAKPAD)
|
#if defined(USE_BREAKPAD)
|
||||||
QString appDirPath = QCoreApplication::applicationDirPath() + "/crash";
|
QString appDirPath = QCoreApplication::applicationDirPath() + "/crash";
|
||||||
|
|
Loading…
Reference in a new issue