mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
docs: Removed comments which will not be in api doc
This commit is contained in:
parent
72780e6c7a
commit
60aea2c2b4
|
@ -663,7 +663,7 @@ QString Settings::getAppDataDirPath() const
|
|||
return QDir::cleanPath(QStandardPaths::writableLocation(QStandardPaths::HomeLocation) + QDir::separator()
|
||||
+ "Library" + QDir::separator() + "Application Support" + QDir::separator() + "Tox")+QDir::separator();
|
||||
#else
|
||||
/**
|
||||
/*
|
||||
* TODO: Change QStandardPaths::DataLocation to AppDataLocation when upgrate Qt to 5.4+
|
||||
* For now we need support Qt 5.3, so we use deprecated DataLocation
|
||||
* BTW, it's not a big deal since for linux AppDataLocation and DataLocation are equal
|
||||
|
|
|
@ -267,10 +267,10 @@ GeneralForm::GeneralForm(SettingsWidget *myParent)
|
|||
connect(bodyUI->cbDontGroupWindows, &QCheckBox::stateChanged, this, &GeneralForm::onDontGroupWindowsChanged);
|
||||
connect(bodyUI->cbGroupchatPosition, &QCheckBox::stateChanged, this, &GeneralForm::onGroupchatPositionChanged);
|
||||
|
||||
/// prevent stealing mouse wheel scroll
|
||||
/// scrolling event won't be transmitted to comboboxes or qspinboxes when scrolling
|
||||
/// you can scroll through general settings without accidentially changing theme/skin/icons etc.
|
||||
/// @see GeneralForm::eventFilter(QObject *o, QEvent *e) at the bottom of this file for more
|
||||
// prevent stealing mouse wheel scroll
|
||||
// scrolling event won't be transmitted to comboboxes or qspinboxes when scrolling
|
||||
// you can scroll through general settings without accidentially changing theme/skin/icons etc.
|
||||
// @see GeneralForm::eventFilter(QObject *o, QEvent *e) at the bottom of this file for more
|
||||
for (QComboBox *cb : findChildren<QComboBox*>())
|
||||
{
|
||||
cb->installEventFilter(this);
|
||||
|
|
Loading…
Reference in New Issue
Block a user