mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-30 05:52:24 -04:00
Removed some SDRAngelove references
This commit is contained in:
parent
30757449ad
commit
d8827985e2
@ -49,6 +49,6 @@ public:
|
|||||||
virtual PluginGUI* createSampleSourcePluginGUI(const QString& sourceId) { return 0; }
|
virtual PluginGUI* createSampleSourcePluginGUI(const QString& sourceId) { return 0; }
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_INTERFACE(PluginInterface, "de.maintech.SDRangelove.PluginInterface/0.1");
|
Q_DECLARE_INTERFACE(PluginInterface, "SDRangel.PluginInterface/0.1");
|
||||||
|
|
||||||
#endif // INCLUDE_PLUGININTERFACE_H
|
#endif // INCLUDE_PLUGININTERFACE_H
|
||||||
|
4
main.cpp
4
main.cpp
@ -29,8 +29,8 @@ static int runQtApplication(int argc, char* argv[])
|
|||||||
QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));
|
QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));
|
||||||
QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
|
QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
|
||||||
*/
|
*/
|
||||||
QCoreApplication::setOrganizationName("osmocom");
|
QCoreApplication::setOrganizationName("f4exb");
|
||||||
QCoreApplication::setApplicationName("SDRangelove");
|
QCoreApplication::setApplicationName("SDRangel");
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
qApp->setStyle(QStyleFactory::create("fusion"));
|
qApp->setStyle(QStyleFactory::create("fusion"));
|
||||||
|
@ -12,6 +12,7 @@ void Preferences::resetToDefaults()
|
|||||||
m_sourceDevice.clear();
|
m_sourceDevice.clear();
|
||||||
m_audioType.clear();
|
m_audioType.clear();
|
||||||
m_audioDevice.clear();
|
m_audioDevice.clear();
|
||||||
|
m_sourceIndex = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
QByteArray Preferences::serialize() const
|
QByteArray Preferences::serialize() const
|
||||||
@ -39,7 +40,7 @@ bool Preferences::deserialize(const QByteArray& data)
|
|||||||
d.readString(2, &m_sourceDevice);
|
d.readString(2, &m_sourceDevice);
|
||||||
d.readString(3, &m_audioType);
|
d.readString(3, &m_audioType);
|
||||||
d.readString(4, &m_audioDevice);
|
d.readString(4, &m_audioDevice);
|
||||||
d.readS32(5, &m_sourceIndex);
|
d.readS32(5, &m_sourceIndex, 0);
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
resetToDefaults();
|
resetToDefaults();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user