mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
fix for windows plugin system
uses call back to expose the retroshare interface to plugins git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4633 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
2173ee0d2e
commit
c1af9b13ad
14 changed files with 179 additions and 52 deletions
|
@ -22,7 +22,7 @@
|
|||
#include <gui/common/vmessagebox.h>
|
||||
|
||||
#include "AddLinksDialog.h"
|
||||
#include <gui/RetroShareLink.h>
|
||||
//#include <gui/RetroShareLink.h>
|
||||
#include "rsrank.h"
|
||||
|
||||
/* Images for context menu icons */
|
||||
|
@ -50,11 +50,11 @@ AddLinksDialog::AddLinksDialog(QString url, QWidget *parent)
|
|||
|
||||
ui.linkLineEdit->setText(url);
|
||||
|
||||
RetroShareLink link(url);
|
||||
// RetroShareLink link(url);
|
||||
|
||||
if(link.valid() && link.type() == RetroShareLink::TYPE_FILE)
|
||||
ui.titleLineEdit->setText(link.name());
|
||||
else
|
||||
// if(link.valid() && link.type() == RetroShareLink::TYPE_FILE)
|
||||
// ui.titleLineEdit->setText(link.name());
|
||||
// else
|
||||
ui.titleLineEdit->setText("New File");
|
||||
|
||||
load();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue