- Timestamp:
- Apr 21, 2008 9:31:21 AM (17 years ago)
- Location:
- trunk/src/VBox/Frontends
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r8155 r8211 142 142 idle_timer = new QTimer (this); 143 143 144 #if ndef Q_WS_WIN145 /* default application icon (will change to the VM-specific icon in146 * openView()). On Win32, it's built-in to the executable. */144 #if !(defined (Q_WS_WIN) || defined (Q_WS_MAC)) 145 /* The aplication icon. On Win32, it's built-in to the executable. On Mac 146 * OS X the icon referenced in info.plist is used. */ 147 147 setIcon (QPixmap::fromMimeSource ("VirtualBox_48px.png")); 148 148 #endif -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxSelectorWnd.cpp
r8155 r8211 392 392 statusBar(); 393 393 394 #ifndef Q_WS_WIN 395 /* Application icon. On Win32, it's built-in to the executable. */ 394 #if !(defined (Q_WS_WIN) || defined (Q_WS_MAC)) 395 /* The aplication icon. On Win32, it's built-in to the executable. On Mac 396 * OS X the icon referenced in info.plist is used. */ 396 397 setIcon (QPixmap::fromMimeSource ("VirtualBox_48px.png")); 397 398 #endif -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleWnd.cpp
r8155 r8211 57 57 #include "VBoxUtils.h" 58 58 #include "VBoxIChatTheaterWrapper.h" 59 //#include <Carbon/Carbon.h> 59 60 /* Qt includes */ 60 61 #include <QPainter> … … 145 146 idle_timer = new QTimer (this); 146 147 147 #ifndef Q_WS_WIN 148 /* default application icon (will change to the VM-specific icon in 149 * openView()). On Win32, it's built-in to the executable. */ 148 #if !(defined (Q_WS_WIN) || defined (Q_WS_MAC)) 149 /* The default application icon (will change to the VM-specific icon in 150 * openView()). On Win32, it's built-in to the executable. On Mac OS X the 151 * icon referenced in info.plist is used. */ 150 152 setWindowIcon (QIcon (":/VirtualBox_48px.png")); 151 153 #endif … … 594 596 #ifdef Q_WS_MAC 595 597 # ifdef VBOX_WITH_ICHAT_THEATER 598 // int setAttr[] = { kHIWindowBitDoesNotShowBadgeInDock, 0 }; 599 // HIWindowChangeAttributes (window, setAttr, NULL); 596 600 initSharedAVManager(); 597 601 # endif … … 2765 2769 * in the paint engine. */ 2766 2770 HIViewReshapeStructure (::darwinToHIViewRef (console->viewport())); 2771 // HIWindowInvalidateShadow (::darwinToWindowRef (console->viewport())); 2767 2772 // ReshapeCustomWindow (mapToWindowRef (this)); 2768 2773 } … … 2787 2792 // ReshapeCustomWindow (reinterpret_cast <WindowPtr> (winId())); 2788 2793 QMainWindow::setMask (region); 2794 // HIWindowInvalidateShadow (::darwinToWindowRef (console->viewport())); 2789 2795 } 2790 2796 #else -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxSelectorWnd.cpp
r8210 r8211 390 390 statusBar(); 391 391 392 #ifndef Q_WS_WIN 393 /* application icon. On Win32, it's built-in to the executable. */ 392 #if !(defined (Q_WS_WIN) || defined (Q_WS_MAC)) 393 /* The aplication icon. On Win32, it's built-in to the executable. On Mac 394 * OS X the icon referenced in info.plist is used. */ 394 395 setWindowIcon (QIcon (":/VirtualBox_48px.png")); 395 396 #endif
Note:
See TracChangeset
for help on using the changeset viewer.