Changeset 19117 in vbox
- Timestamp:
- Apr 22, 2009 5:59:57 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 46316
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxProblemReporter.h
r18402 r19117 267 267 void cannotGetMediaAccessibility (const VBoxMedium &aMedium); 268 268 269 #if defined Q_WS_WIN270 269 int confirmDeletingHostInterface (const QString &aName, QWidget *aParent = 0); 271 270 void cannotCreateHostInterface (const CHost &aHost, QWidget *aParent = 0); … … 277 276 const CHostNetworkInterface &aIface, 278 277 QWidget *aParent = 0); 279 #endif280 278 281 279 void cannotAttachUSBDevice (const CConsole &console, const QString &device); -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxGLSettingsNetwork.cpp
r18415 r19117 393 393 /* Allow the started helper process to make itself the foreground window */ 394 394 AllowSetForegroundWindow (ASFW_ANY); 395 395 #endif 396 396 /* Creating interface */ 397 397 CHostNetworkInterface iface; … … 415 415 else 416 416 vboxProblem().cannotCreateHostInterface (host, this); 417 417 #if defined (Q_WS_WIN32) 418 418 /* Allow the started helper process to make itself the foreground window */ 419 419 AllowSetForegroundWindow (ASFW_ANY); … … 426 426 /* Allow the started helper process to make itself the foreground window */ 427 427 AllowSetForegroundWindow (ASFW_ANY); 428 428 #endif 429 429 /* Check interface presence & name */ 430 430 NetworkItem *item = static_cast <NetworkItem*> (mTwInterfaces->currentItem()); … … 455 455 if (!host.isOk()) 456 456 vboxProblem().cannotRemoveHostInterface (host, iface, this); 457 457 #if defined (Q_WS_WIN32) 458 458 /* Allow the started helper process to make itself the foreground window */ 459 459 AllowSetForegroundWindow (ASFW_ANY); … … 490 490 mRemInterface->setEnabled (item); 491 491 mEditInterface->setEnabled (item); 492 #if !defined (Q_WS_WIN32)493 /* Disable add/remove for all except win for now */494 mAddInterface->setEnabled (false);495 mRemInterface->setEnabled (false);496 #endif497 492 } 498 493 -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxProblemReporter.cpp
r19100 r19117 1220 1220 } 1221 1221 1222 #if defined Q_WS_WIN1223 1224 1222 int VBoxProblemReporter::confirmDeletingHostInterface (const QString &aName, 1225 1223 QWidget *aParent) … … 1272 1270 formatErrorInfo (progress.GetErrorInfo())); 1273 1271 } 1274 1275 #endif1276 1272 1277 1273 void VBoxProblemReporter::cannotAttachUSBDevice (const CConsole &console,
Note:
See TracChangeset
for help on using the changeset viewer.