qvolray
changeset 34:e7c006b774ed
icons
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 15 Apr 2012 00:11:38 +0300 |
parents | 437e1ba9cf39 |
children | 6ca076bf5084 |
files | qvolray.pro src/ui.cc |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line diff
1.1 --- a/qvolray.pro Sat Apr 14 23:31:17 2012 +0300 1.2 +++ b/qvolray.pro Sun Apr 15 00:11:38 2012 +0300 1.3 @@ -19,6 +19,7 @@ 1.4 macx { 1.5 INCLUDEPATH += /opt/local/include 1.6 QMAKE_LIBDIR += /opt/local/lib 1.7 + ICON = data/icons/icon-crap.icns 1.8 } 1.9 1.10 # the moc needs to run for these headers
2.1 --- a/src/ui.cc Sat Apr 14 23:31:17 2012 +0300 2.2 +++ b/src/ui.cc Sun Apr 15 00:11:38 2012 +0300 2.3 @@ -14,6 +14,9 @@ 2.4 MainWindow::MainWindow() 2.5 { 2.6 setWindowTitle("Volume Renderer"); 2.7 +#ifdef __APPLE__ 2.8 + setWindowIcon(QIcon("data/icons/icon-crap.icns")); 2.9 +#endif 2.10 2.11 // OpenGL view (this must be initialized first) 2.12 maingl = new MainGLView;