OSDN Git Service

kde/Katie.git
4 years agomark constant as static in QStandardPaths::writableLocation()
Ivailo Monev [Mon, 22 Jun 2020 16:22:21 +0000 (16:22 +0000)]
mark constant as static in QStandardPaths::writableLocation()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove non-documented and unused qIntCast() functions
Ivailo Monev [Mon, 22 Jun 2020 11:52:32 +0000 (11:52 +0000)]
remove non-documented and unused qIntCast() functions

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreimplement QDesktopService via QStandardPaths
Ivailo Monev [Sun, 21 Jun 2020 18:35:05 +0000 (18:35 +0000)]
reimplement QDesktopService via QStandardPaths

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agooptimize QStandardPaths getters
Ivailo Monev [Sun, 21 Jun 2020 18:34:38 +0000 (18:34 +0000)]
optimize QStandardPaths getters

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoRevert "remove unused StyleSelector::freeNode()"
Ivailo Monev [Sat, 20 Jun 2020 16:36:11 +0000 (16:36 +0000)]
Revert "remove unused StyleSelector::freeNode()"

This reverts commit 0ecbc71d82bbdfb41953229981f4dd9cd9654d24.

used by selector in CSS parser test

4 years agoavoid temporaries in QTextHtmlParser::declarationsForNode()
Ivailo Monev [Sat, 20 Jun 2020 16:25:20 +0000 (16:25 +0000)]
avoid temporaries in QTextHtmlParser::declarationsForNode()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodo not check for built-in styles in QStyleFactory::keys()
Ivailo Monev [Sat, 20 Jun 2020 16:02:45 +0000 (16:02 +0000)]
do not check for built-in styles in QStyleFactory::keys()

styles are not build as plugins

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake widget argument of drawArrow() function required
Ivailo Monev [Sat, 20 Jun 2020 15:48:46 +0000 (15:48 +0000)]
make widget argument of drawArrow() function required

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agooptimize QCommonStyle::drawPrimitive() and QCommonStyle::drawControl()
Ivailo Monev [Sat, 20 Jun 2020 15:10:39 +0000 (15:10 +0000)]
optimize QCommonStyle::drawPrimitive() and QCommonStyle::drawControl()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse foreach() for iteration in QScript::__setupPackage__()
Ivailo Monev [Fri, 19 Jun 2020 19:27:03 +0000 (19:27 +0000)]
use foreach() for iteration in QScript::__setupPackage__()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused integerFromString() overload
Ivailo Monev [Fri, 19 Jun 2020 19:04:39 +0000 (19:04 +0000)]
remove unused integerFromString() overload

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace qt_openDocument() and qt_launchWebBrowser() with their body
Ivailo Monev [Fri, 19 Jun 2020 18:50:44 +0000 (18:50 +0000)]
replace qt_openDocument() and qt_launchWebBrowser() with their body

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agode-inline if condition in QThread::setTerminationEnabled()
Ivailo Monev [Fri, 19 Jun 2020 18:49:03 +0000 (18:49 +0000)]
de-inline if condition in QThread::setTerminationEnabled()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused constructWindowTitleFromFilePath() function
Ivailo Monev [Thu, 18 Jun 2020 01:13:53 +0000 (01:13 +0000)]
remove unused constructWindowTitleFromFilePath() function

should've been removed with 231dc75f8a1f84db6093de7ab2a279fa0e36bd3f

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agooptimize some QMainWindowLayoutState methods
Ivailo Monev [Thu, 18 Jun 2020 00:45:17 +0000 (00:45 +0000)]
optimize some QMainWindowLayoutState methods

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporary in QMainWindow::menuWidget()
Ivailo Monev [Thu, 18 Jun 2020 00:43:56 +0000 (00:43 +0000)]
avoid temporary in QMainWindow::menuWidget()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace QVarLengthArray with dynamic arrays where possible
Ivailo Monev [Thu, 18 Jun 2020 00:13:50 +0000 (00:13 +0000)]
replace QVarLengthArray with dynamic arrays where possible

avoids resizing in e.g. qDrawBorderPixmap(), there are more places where
performance can be squeezed by doing the same thing

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse single variable assignment in getPatternFill() function
Ivailo Monev [Wed, 17 Jun 2020 23:50:46 +0000 (23:50 +0000)]
use single variable assignment in getPatternFill() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoSet theme jekyll-theme-slate
Ivailo Monev [Wed, 17 Jun 2020 23:16:11 +0000 (23:16 +0000)]
Set theme jekyll-theme-slate

4 years agoremove unused QX11Data::PatternFills::opaque member
Ivailo Monev [Wed, 17 Jun 2020 23:03:03 +0000 (23:03 +0000)]
remove unused QX11Data::PatternFills::opaque member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant cases in gesture recognizers
Ivailo Monev [Wed, 17 Jun 2020 23:02:08 +0000 (23:02 +0000)]
remove redundant cases in gesture recognizers

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse new style cast in QClipboard::mimeData()
Ivailo Monev [Wed, 17 Jun 2020 22:41:34 +0000 (22:41 +0000)]
use new style cast in QClipboard::mimeData()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporary in QKeySequence::toString()
Ivailo Monev [Wed, 17 Jun 2020 22:26:29 +0000 (22:26 +0000)]
avoid temporary in QKeySequence::toString()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoindent qt_XTranslateKey() function
Ivailo Monev [Wed, 17 Jun 2020 22:26:08 +0000 (22:26 +0000)]
indent qt_XTranslateKey() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate QChar normalization test data
Ivailo Monev [Wed, 17 Jun 2020 18:29:03 +0000 (18:29 +0000)]
update QChar normalization test data

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agooptimize QKeySequence::matches()
Ivailo Monev [Wed, 17 Jun 2020 17:56:01 +0000 (17:56 +0000)]
optimize QKeySequence::matches()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agooptimize QKeySequencePrivate::keyBindings table
Ivailo Monev [Wed, 17 Jun 2020 17:11:48 +0000 (17:11 +0000)]
optimize QKeySequencePrivate::keyBindings table

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agooptimize assert in QGestureManager::deliverEvents()
Ivailo Monev [Wed, 17 Jun 2020 17:07:47 +0000 (17:07 +0000)]
optimize assert in QGestureManager::deliverEvents()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agooptimize qt_pixmap_thread_test() function
Ivailo Monev [Wed, 17 Jun 2020 16:11:36 +0000 (16:11 +0000)]
optimize qt_pixmap_thread_test() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate URL TLDs
Ivailo Monev [Tue, 16 Jun 2020 22:11:22 +0000 (22:11 +0000)]
update URL TLDs

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused window filepath setter and getter of QWidget class
Ivailo Monev [Tue, 16 Jun 2020 20:39:24 +0000 (20:39 +0000)]
remove unused window filepath setter and getter of QWidget class

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant const_cast<> in QWidget getters
Ivailo Monev [Tue, 16 Jun 2020 20:35:13 +0000 (20:35 +0000)]
remove redundant const_cast<> in QWidget getters

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant QSystemTrayIconSys::updateIcon()
Ivailo Monev [Mon, 15 Jun 2020 22:27:01 +0000 (22:27 +0000)]
remove redundant QSystemTrayIconSys::updateIcon()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused qtsystray_sendActivated() function
Ivailo Monev [Mon, 15 Jun 2020 22:26:23 +0000 (22:26 +0000)]
remove unused qtsystray_sendActivated() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreview internal callbacks system
Ivailo Monev [Thu, 28 May 2020 02:02:10 +0000 (02:02 +0000)]
review internal callbacks system

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomove ELF output file support check to qplugin header
Ivailo Monev [Sat, 23 May 2020 13:41:55 +0000 (13:41 +0000)]
move ELF output file support check to qplugin header

Q_OF_ELF is internal, generalize by checking only if __ELF__ is defined
while at it

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace qCmdLineArgs() with its body
Ivailo Monev [Sat, 23 May 2020 13:14:22 +0000 (13:14 +0000)]
replace qCmdLineArgs() with its body

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoconvert qt_static_shift<> to static function
Ivailo Monev [Sat, 23 May 2020 13:00:12 +0000 (13:00 +0000)]
convert qt_static_shift<> to static function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QGraphicsSystem::createPixmapData() method
Ivailo Monev [Sat, 23 May 2020 12:34:09 +0000 (12:34 +0000)]
remove unused QGraphicsSystem::createPixmapData() method

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporary in QBrush data streaming operator
Ivailo Monev [Sat, 23 May 2020 12:00:58 +0000 (12:00 +0000)]
avoid temporary in QBrush data streaming operator

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agorename variable for consistency in QBrush debug operator
Ivailo Monev [Sat, 23 May 2020 11:59:54 +0000 (11:59 +0000)]
rename variable for consistency in QBrush debug operator

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomove temporary closer to the scope it is used in qt_x11_drawImage()
Ivailo Monev [Sat, 23 May 2020 11:56:17 +0000 (11:56 +0000)]
move temporary closer to the scope it is used in qt_x11_drawImage()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomark brush styles enums tables as static in QBrush constructor
Ivailo Monev [Sat, 23 May 2020 11:55:38 +0000 (11:55 +0000)]
mark brush styles enums tables as static in QBrush constructor

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agofix QBrush debug operator for Qt::TexturePattern style case
Ivailo Monev [Sat, 23 May 2020 11:54:44 +0000 (11:54 +0000)]
fix QBrush debug operator for Qt::TexturePattern style case

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocorrect scoped array size in QX11PaintEngine::updatePen()
Ivailo Monev [Sun, 10 May 2020 02:02:49 +0000 (02:02 +0000)]
correct scoped array size in QX11PaintEngine::updatePen()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomove QCryptographicHash benchmark to network and link it to the component
Ivailo Monev [Wed, 6 May 2020 02:35:18 +0000 (02:35 +0000)]
move QCryptographicHash benchmark to network and link it to the component

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QWindowSurface::grabWidget() argument
Ivailo Monev [Wed, 6 May 2020 02:32:17 +0000 (02:32 +0000)]
remove unused QWindowSurface::grabWidget() argument

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove code for always false condition in gray raster functions
Ivailo Monev [Sat, 2 May 2020 01:32:48 +0000 (01:32 +0000)]
remove code for always false condition in gray raster functions

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused INV_EPS() pre-proccessor macro
Ivailo Monev [Sat, 2 May 2020 00:57:58 +0000 (00:57 +0000)]
remove unused INV_EPS() pre-proccessor macro

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QDummyWindowSurface
Ivailo Monev [Fri, 1 May 2020 19:16:05 +0000 (19:16 +0000)]
remove unused QDummyWindowSurface

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse single variable assignment in QWidgetPrivate::scrollRect()
Ivailo Monev [Fri, 1 May 2020 19:14:06 +0000 (19:14 +0000)]
use single variable assignment in QWidgetPrivate::scrollRect()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove non-existing QWidgetPrivate methods declarations
Ivailo Monev [Fri, 1 May 2020 19:13:50 +0000 (19:13 +0000)]
remove non-existing QWidgetPrivate methods declarations

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove qws support leftovers
Ivailo Monev [Fri, 1 May 2020 19:02:30 +0000 (19:02 +0000)]
remove qws support leftovers

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused and internal QRasterPaintEngine::releaseBuffer()
Ivailo Monev [Fri, 1 May 2020 19:01:28 +0000 (19:01 +0000)]
remove unused and internal QRasterPaintEngine::releaseBuffer()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoconvert pixmap filter templates to static functions
Ivailo Monev [Fri, 1 May 2020 18:51:35 +0000 (18:51 +0000)]
convert pixmap filter templates to static functions

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake lists static in parseBrushValue()
Ivailo Monev [Fri, 1 May 2020 18:50:29 +0000 (18:50 +0000)]
make lists static in parseBrushValue()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused qt_blurImage() argument
Ivailo Monev [Wed, 22 Apr 2020 21:52:05 +0000 (21:52 +0000)]
remove unused qt_blurImage() argument

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate documentation about formats supported by QImageReader
Ivailo Monev [Wed, 22 Apr 2020 21:51:24 +0000 (21:51 +0000)]
update documentation about formats supported by QImageReader

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate translations
Ivailo Monev [Tue, 21 Apr 2020 23:44:33 +0000 (23:44 +0000)]
update translations

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant RGB gamma tables
Ivailo Monev [Tue, 21 Apr 2020 23:02:44 +0000 (23:02 +0000)]
remove redundant RGB gamma tables

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocorrect qcryptographichash header references
Ivailo Monev [Tue, 21 Apr 2020 23:02:04 +0000 (23:02 +0000)]
correct qcryptographichash header references

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse proper type for QRgbMap::used member
Ivailo Monev [Tue, 21 Apr 2020 21:37:33 +0000 (21:37 +0000)]
use proper type for QRgbMap::used member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomove QCryptographicHash class implementation to network component
Ivailo Monev [Tue, 21 Apr 2020 21:11:04 +0000 (21:11 +0000)]
move QCryptographicHash class implementation to network component

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake QThreadPoolPrivate::startThread() argument required
Ivailo Monev [Tue, 21 Apr 2020 20:50:53 +0000 (20:50 +0000)]
make QThreadPoolPrivate::startThread() argument required

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove obsolete QDialog extension functionality
Ivailo Monev [Tue, 21 Apr 2020 20:49:04 +0000 (20:49 +0000)]
remove obsolete QDialog extension functionality

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoget rid of QFilePrivate::cachedSize member
Ivailo Monev [Tue, 14 Apr 2020 23:28:38 +0000 (23:28 +0000)]
get rid of QFilePrivate::cachedSize member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse LFS-aware QT_FSTRUNCATE definition in QSharedMemoryPrivate::create()
Ivailo Monev [Tue, 14 Apr 2020 01:07:22 +0000 (01:07 +0000)]
use LFS-aware QT_FSTRUNCATE definition in QSharedMemoryPrivate::create()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoregenerate javascriptcore grammar
Ivailo Monev [Tue, 14 Apr 2020 00:40:40 +0000 (00:40 +0000)]
regenerate javascriptcore grammar

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QX11PixmapData::InvertedWhenBoundToTexture enum
Ivailo Monev [Tue, 14 Apr 2020 00:32:45 +0000 (00:32 +0000)]
remove unused QX11PixmapData::InvertedWhenBoundToTexture enum

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QScriptClassPropertyIteratorPrivate::q_ptr member
Ivailo Monev [Tue, 14 Apr 2020 00:32:02 +0000 (00:32 +0000)]
remove unused QScriptClassPropertyIteratorPrivate::q_ptr member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused StyleSelector::freeNode()
Ivailo Monev [Mon, 13 Apr 2020 16:29:50 +0000 (16:29 +0000)]
remove unused StyleSelector::freeNode()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace hardcoded value with enum in QDBusMetaObjectGenerator::parseProperties()
Ivailo Monev [Thu, 9 Apr 2020 07:27:59 +0000 (07:27 +0000)]
replace hardcoded value with enum in QDBusMetaObjectGenerator::parseProperties()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agouse foreach() for iteration in QDBusMetaObjectGenerator::parseProperties()
Ivailo Monev [Thu, 9 Apr 2020 07:27:43 +0000 (07:27 +0000)]
use foreach() for iteration in QDBusMetaObjectGenerator::parseProperties()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomark some helper functions as static and variables as const
Ivailo Monev [Thu, 9 Apr 2020 07:26:35 +0000 (07:26 +0000)]
mark some helper functions as static and variables as const

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant const_cast<T>() in QDBusInterface::qt_metacast()
Ivailo Monev [Thu, 9 Apr 2020 07:15:06 +0000 (07:15 +0000)]
remove redundant const_cast<T>() in QDBusInterface::qt_metacast()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agostore QImage::bytesPerLine() result outside loop in QImage::createMaskFromColor()
Ivailo Monev [Thu, 9 Apr 2020 07:14:37 +0000 (07:14 +0000)]
store QImage::bytesPerLine() result outside loop in QImage::createMaskFromColor()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused and internal Qt::GestureType::LastGestureType enum
Ivailo Monev [Thu, 9 Apr 2020 07:12:58 +0000 (07:12 +0000)]
remove unused and internal Qt::GestureType::LastGestureType enum

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace getFileIcon() helper with its body
Ivailo Monev [Wed, 8 Apr 2020 04:48:49 +0000 (04:48 +0000)]
replace getFileIcon() helper with its body

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused and internal QAbstractItemView virtual slots
Ivailo Monev [Wed, 8 Apr 2020 04:27:28 +0000 (04:27 +0000)]
remove unused and internal QAbstractItemView virtual slots

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporary in QAbstractItemView::mouseReleaseEvent()
Ivailo Monev [Wed, 8 Apr 2020 04:20:06 +0000 (04:20 +0000)]
avoid temporary in QAbstractItemView::mouseReleaseEvent()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove declaration of non-existent QRasterPixmapData::setImage()
Ivailo Monev [Wed, 8 Apr 2020 00:44:31 +0000 (00:44 +0000)]
remove declaration of non-existent QRasterPixmapData::setImage()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove default cases in QX11PixmapData::metric()
Ivailo Monev [Wed, 8 Apr 2020 00:43:46 +0000 (00:43 +0000)]
remove default cases in QX11PixmapData::metric()

also fixes a compiler warning about shadowing member

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporary in QMetaObject::constructor()
Ivailo Monev [Wed, 8 Apr 2020 00:42:47 +0000 (00:42 +0000)]
avoid temporary in QMetaObject::constructor()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoassume platforms support POSIX signals
Ivailo Monev [Mon, 6 Apr 2020 14:33:02 +0000 (14:33 +0000)]
assume platforms support POSIX signals

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreturn result dup2() result from qt_safe_dup2()
Ivailo Monev [Mon, 6 Apr 2020 14:32:05 +0000 (14:32 +0000)]
return result dup2() result from qt_safe_dup2()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove redundant header inclusions from qcore_unix_p header
Ivailo Monev [Mon, 6 Apr 2020 14:31:00 +0000 (14:31 +0000)]
remove redundant header inclusions from qcore_unix_p header

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agocorrect static monthDays array type
Ivailo Monev [Mon, 6 Apr 2020 12:51:25 +0000 (12:51 +0000)]
correct static monthDays array type

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporary in QBitmap::operator=()
Ivailo Monev [Mon, 6 Apr 2020 01:55:05 +0000 (01:55 +0000)]
avoid temporary in QBitmap::operator=()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomark pseudo-elements table as static in QStyleSheetStyle::drawComplexControl()
Ivailo Monev [Mon, 6 Apr 2020 01:51:45 +0000 (01:51 +0000)]
mark pseudo-elements table as static in QStyleSheetStyle::drawComplexControl()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused QImageData::create() argument
Ivailo Monev [Mon, 6 Apr 2020 01:47:18 +0000 (01:47 +0000)]
remove unused QImageData::create() argument

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove non-existent QString::updateProperties() method declaration
Ivailo Monev [Mon, 6 Apr 2020 01:44:14 +0000 (01:44 +0000)]
remove non-existent QString::updateProperties() method declaration

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoget rid of qt_grayscale() argument
Ivailo Monev [Sun, 5 Apr 2020 00:55:33 +0000 (00:55 +0000)]
get rid of qt_grayscale() argument

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agomake translateKeyEventInternal() static, remove unused argument and return value
Ivailo Monev [Sun, 5 Apr 2020 00:40:17 +0000 (00:40 +0000)]
make translateKeyEventInternal() static, remove unused argument and return value

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate Qt::WindowType documentation
Ivailo Monev [Sat, 4 Apr 2020 07:49:37 +0000 (07:49 +0000)]
update Qt::WindowType documentation

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove default QClipboard::Mode enum cases
Ivailo Monev [Sat, 4 Apr 2020 07:49:04 +0000 (07:49 +0000)]
remove default QClipboard::Mode enum cases

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoavoid temporary in QPixmapData::fromImageReader()
Ivailo Monev [Sat, 4 Apr 2020 07:48:12 +0000 (07:48 +0000)]
avoid temporary in QPixmapData::fromImageReader()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoreplace QRasterPixmapData::createPixmapForImage() with its body
Ivailo Monev [Sat, 4 Apr 2020 07:47:52 +0000 (07:47 +0000)]
replace QRasterPixmapData::createPixmapForImage() with its body

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoupdate Qt::DropAction documentation [ci skip]
Ivailo Monev [Fri, 3 Apr 2020 21:32:53 +0000 (21:32 +0000)]
update Qt::DropAction documentation [ci skip]

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agoremove unused int_dim() macro
Ivailo Monev [Fri, 3 Apr 2020 21:30:32 +0000 (21:30 +0000)]
remove unused int_dim() macro

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
4 years agodo not compare variable to 0 in QRasterPaintEngine::clip()
Ivailo Monev [Fri, 3 Apr 2020 21:30:18 +0000 (21:30 +0000)]
do not compare variable to 0 in QRasterPaintEngine::clip()

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>