mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-05 21:04:14 -04:00
fixed conflicts in merging upstream/master to v0.6-FTEncryption
This commit is contained in:
commit
8c7c7647b0
173 changed files with 2701 additions and 13742 deletions
|
@ -486,7 +486,7 @@ void ServerPage::addPeerToIPTable(QTableWidget *table,int row,const BanListPeer&
|
|||
void ServerPage::toggleGroupIps(bool b) { rsBanList->enableAutoRange(b) ; }
|
||||
void ServerPage::setGroupIpLimit(int n) { rsBanList->setAutoRangeLimit(n) ; }
|
||||
|
||||
void ServerPage::ipFilterContextMenu(const QPoint& point)
|
||||
void ServerPage::ipFilterContextMenu(const QPoint& /*point*/)
|
||||
{
|
||||
QMenu contextMenu(this) ;
|
||||
int row = ui.filteredIpsTable->currentRow();
|
||||
|
@ -604,7 +604,7 @@ void ServerPage::ipWhiteListContextMenu(const QPoint& /* point */)
|
|||
if(item == NULL)
|
||||
return ;
|
||||
|
||||
bool status = item->data(Qt::UserRole).toBool();
|
||||
//bool status = item->data(Qt::UserRole).toBool();
|
||||
|
||||
contextMenu.addAction(tr("Remove"),this,SLOT(removeWhiteListedIp()));
|
||||
|
||||
|
|
|
@ -789,7 +789,10 @@ bool RshareSettings::getRetroShareProtocol()
|
|||
}
|
||||
}
|
||||
#elif defined(Q_OS_LINUX)
|
||||
QFile desktop("/usr/share/applications/RetroShare06.desktop");
|
||||
QFile desktop("/usr/share/applications/retroshare06.desktop");
|
||||
if (!desktop.exists()) {
|
||||
desktop.setFileName("/usr/share/applications/RetroShare06.desktop");
|
||||
}
|
||||
if (desktop.exists()) {
|
||||
desktop.open(QIODevice::ReadOnly | QIODevice::Text);
|
||||
QTextStream in(&desktop);
|
||||
|
@ -799,7 +802,7 @@ bool RshareSettings::getRetroShareProtocol()
|
|||
}
|
||||
desktop.close();
|
||||
if (lines.contains("Exec=" + getAppPathForProtocol()))
|
||||
if (lines.contains("MimeType=x-scheme-handler/retroshare"))
|
||||
if (lines.contains("MimeType=x-scheme-handler/retroshare;"))
|
||||
return true;
|
||||
}
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue