mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-08 22:32:34 -04:00
RS_ prefix
This commit is contained in:
parent
584b9039c9
commit
50ee33b229
6 changed files with 42 additions and 30 deletions
|
@ -19,7 +19,6 @@
|
|||
*******************************************************************************/
|
||||
|
||||
#include <QColorDialog>
|
||||
#include <QFontDialog>
|
||||
#include <QMenu>
|
||||
#include <QMessageBox>
|
||||
#include <time.h>
|
||||
|
@ -415,11 +414,8 @@ ChatPage::load()
|
|||
void ChatPage::on_pushButtonChangeChatFont_clicked()
|
||||
{
|
||||
bool ok;
|
||||
#ifdef NATIVEDIALOGS
|
||||
QFont font = QFontDialog::getFont(&ok, fontTempChat, this, tr("Choose your default font for Chat.") );
|
||||
#else
|
||||
QFont font = QFontDialog::getFont(&ok, fontTempChat, this, tr("Choose your default font for Chat."),QFontDialog::DontUseNativeDialog);
|
||||
#endif
|
||||
QFont font = misc::getFont(&ok, fontTempChat, this, tr("Choose your default font for Chat."));
|
||||
|
||||
if (ok) {
|
||||
fontTempChat = font;
|
||||
// using fontTempChat.rawname() does not always work!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue