mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +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>CREDITS.txt</file>
|
||||
<file>icons/highlighter.png</file>
|
||||
<file>icons/macicon.png</file>
|
||||
<file>icons/icon32_sdict.png</file>
|
||||
<file>icons/icon32_aard.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 |
|
||||
Qt::WindowMinimizeButtonHint );
|
||||
|
||||
#ifndef Q_OS_MAC
|
||||
setWindowIcon( QIcon( ":/icons/programicon.png" ) );
|
||||
#else
|
||||
setWindowIcon( QIcon( ":/icons/macicon.png" ) );
|
||||
#endif
|
||||
setWindowIcon( QIcon( ":/icons/programicon.png" ) );
|
||||
|
||||
if ( showOnStartup )
|
||||
{
|
||||
|
|
|
@ -289,9 +289,7 @@ int main( int argc, char ** argv )
|
|||
|
||||
QHotkeyApplication::setApplicationName( "GoldenDict-ng" );
|
||||
QHotkeyApplication::setOrganizationDomain( "https://github.com/xiaoyifang/goldendict-ng" );
|
||||
#ifndef Q_OS_MAC
|
||||
QHotkeyApplication::setWindowIcon( QIcon( ":/icons/programicon.png" ) );
|
||||
#endif
|
||||
|
||||
#if defined(USE_BREAKPAD)
|
||||
QString appDirPath = QCoreApplication::applicationDirPath() + "/crash";
|
||||
|
|
Loading…
Reference in a new issue