- Timestamp:
- Sep 22, 2014 1:46:28 PM (10 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIFileDialog.cpp
r52730 r52816 481 481 ofn.lStructSize = sizeof (OPENFILENAME); 482 482 ofn.hwndOwner = topParent ? topParent->winId() : 0; 483 ofn.lpstrFilter = (TCHAR *) winFilters.isNull() ? 0 : winFilters.utf16();483 ofn.lpstrFilter = (TCHAR *)(winFilters.isNull() ? 0 : winFilters.utf16()); 484 484 ofn.lpstrFile = buf; 485 485 ofn.nMaxFile = sizeof (buf) - 1; 486 ofn.lpstrInitialDir = (TCHAR *) workDir.isNull() ? 0 : workDir.utf16();487 ofn.lpstrTitle = (TCHAR *) title.isNull() ? 0 : title.utf16();486 ofn.lpstrInitialDir = (TCHAR *)(workDir.isNull() ? 0 : workDir.utf16()); 487 ofn.lpstrTitle = (TCHAR *)(title.isNull() ? 0 : title.utf16()); 488 488 ofn.Flags = (OFN_NOCHANGEDIR | OFN_HIDEREADONLY | 489 489 OFN_EXPLORER | OFN_ENABLEHOOK | … … 738 738 ofn.lStructSize = sizeof (OPENFILENAME); 739 739 ofn.hwndOwner = topParent ? topParent->winId() : 0; 740 ofn.lpstrFilter = (TCHAR *) winFilters.isNull() ? 0 : winFilters.utf16();740 ofn.lpstrFilter = (TCHAR *)(winFilters.isNull() ? 0 : winFilters.utf16()); 741 741 ofn.lpstrFile = buf; 742 742 ofn.nMaxFile = sizeof (buf) - 1; 743 ofn.lpstrInitialDir = (TCHAR *) workDir.isNull() ? 0 : workDir.utf16();744 ofn.lpstrTitle = (TCHAR *) title.isNull() ? 0 : title.utf16();743 ofn.lpstrInitialDir = (TCHAR *)(workDir.isNull() ? 0 : workDir.utf16()); 744 ofn.lpstrTitle = (TCHAR *)(title.isNull() ? 0 : title.utf16()); 745 745 ofn.Flags = (OFN_NOCHANGEDIR | OFN_HIDEREADONLY | 746 746 OFN_EXPLORER | OFN_ENABLEHOOK | -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceEditorWidget.h
r52727 r52816 52 52 ModelItem(int number, ModelItem_type type, ModelItem *pParent = NULL); 53 53 54 ~ModelItem();54 virtual ~ModelItem(); 55 55 56 56 ModelItem *parent() const { return m_pParentItem; } -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportApp.cpp
r52733 r52816 181 181 if (!field("password").toString().isEmpty()) 182 182 uri = QString("%1:%2").arg(uri).arg(field("password").toString()); 183 if (!field("username").toString().isEmpty() || !field(" username").toString().isEmpty())183 if (!field("username").toString().isEmpty() || !field("password").toString().isEmpty()) 184 184 uri = QString("%1@").arg(uri); 185 185 uri = QString("%1%2/%3/%4").arg(uri).arg("object.storage.network.com").arg(field("bucket").toString()).arg(path);
Note:
See TracChangeset
for help on using the changeset viewer.