VirtualBox

Changeset 76734 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 9, 2019 1:08:55 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:6699: Remove some obsolute stuff

Location:
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManager.cpp

    r76627 r76734  
    384384                this, &UIFileManager::sltPanelActionToggled);
    385385
    386 #ifdef TEST_COPY
    387 
    388         m_pToolBar->addSeparator();
    389         QAction *pSession = new QAction("session", this);
    390         QAction *pCopy = new QAction("Copy", this);
    391         m_pToolBar->addAction(pSession);
    392         m_pToolBar->addAction(pCopy);
    393 
    394         connect(pSession, &QAction::triggered,
    395                 this, &UIFileManager::sltTestSession);
    396         connect(pCopy, &QAction::triggered,
    397                 this, &UIFileManager::sltTestCopy);
    398 
    399 #endif
    400 
    401386#ifdef VBOX_WS_MAC
    402387        /* Check whether we are embedded into a stack: */
     
    801786}
    802787
    803 void UIFileManager::sltTestSession()
    804 {
    805     createSession("vbox", "password");
    806 }
    807 
    808 void UIFileManager::sltTestCopy()
    809 {
    810     QStringList sources;
    811     sources << "/home/serkan/misos/xenialpup-7.5-uefi.iso";
    812     if ( m_pGuestFileTable)
    813         m_pGuestFileTable->copyHostToGuest(sources, "/home/vbox/test");
    814 }
    815 
    816788#include "UIFileManager.moc"
  • trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManager.h

    r76627 r76734  
    124124    /** Performs whatever necessary when some signal about option change has been receieved. */
    125125    void sltHandleOptionsUpdated();
    126 
    127     void sltTestCopy();
    128     void sltTestSession();
    129126
    130127private:
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette