diff --git a/icons/macicon.png b/icons/macicon.png deleted file mode 100644 index df8fe10b..00000000 Binary files a/icons/macicon.png and /dev/null differ diff --git a/resources.qrc b/resources.qrc index 86524b0b..19b5a637 100644 --- a/resources.qrc +++ b/resources.qrc @@ -20,7 +20,6 @@ icons/lingualibre.svg CREDITS.txt icons/highlighter.png - icons/macicon.png icons/icon32_sdict.png icons/icon32_aard.png icons/expand_opt.png diff --git a/src/initializing.cc b/src/initializing.cc index 488f4a5f..7a92e8ad 100644 --- a/src/initializing.cc +++ b/src/initializing.cc @@ -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 ) { diff --git a/src/main.cc b/src/main.cc index 66c22e74..db889281 100644 --- a/src/main.cc +++ b/src/main.cc @@ -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";