mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
Sharedialog: fix changes due to rebase
This commit is contained in:
parent
e420a689dc
commit
0bd6eb1792
3 changed files with 6 additions and 6 deletions
|
@ -147,8 +147,8 @@ Application::Application(int &argc, char **argv) :
|
|||
slotAccountStateAdded(ai);
|
||||
}
|
||||
|
||||
connect(FolderMan::instance()->socketApi(), SIGNAL(shareCommandReceived(QString)),
|
||||
_gui, SLOT(slotShowShareDialog(QString)));
|
||||
connect(FolderMan::instance()->socketApi(), SIGNAL(shareCommandReceived(QString, bool)),
|
||||
_gui, SLOT(slotShowShareDialog(QString, bool)));
|
||||
|
||||
// startup procedure.
|
||||
connect(&_checkConnectionTimer, SIGNAL(timeout()), this, SLOT(slotCheckConnection()));
|
||||
|
|
|
@ -636,12 +636,12 @@ void ownCloudGui::raiseDialog( QWidget *raiseWidget )
|
|||
}
|
||||
|
||||
|
||||
void ownCloudGui::slotShowShareDialog(const QString &path)
|
||||
void ownCloudGui::slotShowShareDialog(const QString &path, const bool &isDir)
|
||||
{
|
||||
qDebug() << Q_FUNC_INFO << "Opening share dialog";
|
||||
ShareDialog *w = new ShareDialog;
|
||||
ShareDialog *w = new ShareDialog(path, isDir);
|
||||
w->getShares();
|
||||
w->setAttribute( Qt::WA_DeleteOnClose, true );
|
||||
w->setPath(path);
|
||||
w->show();
|
||||
}
|
||||
|
||||
|
|
|
@ -70,7 +70,7 @@ public slots:
|
|||
void slotHelp();
|
||||
void slotOpenPath(const QString& path);
|
||||
void slotAccountStateChanged();
|
||||
void slotShowShareDialog(const QString &path);
|
||||
void slotShowShareDialog(const QString &path, const bool &isDir);
|
||||
|
||||
private slots:
|
||||
void slotDisplayIdle();
|
||||
|
|
Loading…
Reference in a new issue