VirtualBox

Ignore:
Timestamp:
Jan 18, 2008 9:15:20 PM (17 years ago)
Author:
vboxsync
Message:

next try

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxSharedFoldersSettings.ui.h

    r6382 r6384  
    404404void VBoxSharedFoldersSettings::createSharedFolder (const QString & aName,
    405405                                                    const QString & aPath,
     406                                                    bool aWritable,
    406407                                                    SFDialogType aType)
    407408{
     
    417418        {
    418419            Assert (!mMachine.isNull());
    419             mMachine.CreateSharedFolder (aName, aPath);
     420            mMachine.CreateSharedFolder (aName, aPath, aWritable);
    420421            if (!mMachine.isOk())
    421422                vboxProblem().cannotCreateSharedFolder (this, mMachine,
     
    426427        {
    427428            Assert (!mConsole.isNull());
    428             mConsole.CreateSharedFolder (aName, aPath);
     429            mConsole.CreateSharedFolder (aName, aPath, aWritable);
    429430            if (!mConsole.isOk())
    430431                vboxProblem().cannotCreateSharedFolder (this, mConsole,
     
    573574        if (item && !item->getText (0).isNull() && !item->getText (1).isNull()
    574575            && item->getText (2) == "edited")
    575             createSharedFolder (item->getText (0), item->getText (1), type);
     576            createSharedFolder (item->getText (0), item->getText (1), true, type);
    576577        iterator = iterator->nextSibling();
    577578    }
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