- Timestamp:
- May 25, 2017 2:55:56 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/hostnetwork/UIHostNetworkManager.cpp
r67075 r67087 217 217 m_pActionAdd->setText(UIHostNetworkManager::tr("&Create")); 218 218 m_pActionAdd->setToolTip(UIHostNetworkManager::tr("Create Host-only Network (%1)").arg(m_pActionAdd->shortcut().toString())); 219 m_pActionAdd->setStatusTip(UIHostNetworkManager::tr("Create s new host-only network."));219 m_pActionAdd->setStatusTip(UIHostNetworkManager::tr("Create new host-only network")); 220 220 } 221 221 if (m_pActionRemove) … … 223 223 m_pActionRemove->setText(UIHostNetworkManager::tr("&Remove...")); 224 224 m_pActionRemove->setToolTip(UIHostNetworkManager::tr("Remove Host-only Network (%1)").arg(m_pActionRemove->shortcut().toString())); 225 m_pActionRemove->setStatusTip(UIHostNetworkManager::tr("Remove s selected host-only network."));225 m_pActionRemove->setStatusTip(UIHostNetworkManager::tr("Remove selected host-only network")); 226 226 } 227 227 if (m_pActionDetails) … … 229 229 m_pActionDetails->setText(UIHostNetworkManager::tr("&Details...")); 230 230 m_pActionDetails->setToolTip(UIHostNetworkManager::tr("Open Host-only Network Details (%1)").arg(m_pActionDetails->shortcut().toString())); 231 m_pActionDetails->setStatusTip(UIHostNetworkManager::tr("Open s pane with the selected host-only network details."));231 m_pActionDetails->setStatusTip(UIHostNetworkManager::tr("Open pane with the selected host-only network details")); 232 232 } 233 233 if (m_pActionCommit) … … 235 235 m_pActionCommit->setText(UIHostNetworkManager::tr("&Apply...")); 236 236 m_pActionCommit->setToolTip(UIHostNetworkManager::tr("Apply Changes in Host-only Network Details (%1)").arg(m_pActionCommit->shortcut().toString())); 237 m_pActionCommit->setStatusTip(UIHostNetworkManager::tr("Appl ies changes in host-only network details pane."));237 m_pActionCommit->setStatusTip(UIHostNetworkManager::tr("Apply changes in host-only network details pane")); 238 238 } 239 239 … … 812 812 { 813 813 /* Configure toolbar: */ 814 const QStyle *pStyle = QApplication::style(); 815 const int iIconMetric = (int)(pStyle->pixelMetric(QStyle::PM_SmallIconSize) * 1.375); 814 const int iIconMetric = (int)(QApplication::style()->pixelMetric(QStyle::PM_SmallIconSize) * 1.375); 816 815 m_pToolBar->setIconSize(QSize(iIconMetric, iIconMetric)); 817 816 m_pToolBar->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
Note:
See TracChangeset
for help on using the changeset viewer.