Commit Graph

14 Commits

Author SHA1 Message Date
Tsu Jan e9d6b36624 Removed some debug outputs
Users don't need to seem them. If an info is really important, it should be shown in a message box, IMHO.
2019-10-21 21:08:54 +02:00
Luís Pereira 5e44880a70 Port to C++ bool literals 2019-04-13 15:49:15 +02:00
Luís Pereira b8906f6b0c Port towards C++11 nullptr 2019-04-13 15:49:15 +02:00
Denis Rouzaud 54bcaddab7 fix local variable will be copied despite being returned by name (#221)
* fix local variable will be copied despite being returned by name

error when building with clang 7

* Fix error return-std-move

std::move should not be used here because
it prevents RVO (copy elision) and it's
considered an anti-pattern.

To fix the original warning the returned
type must match the declared return
type or copy elision will not be possible
(and the warning will be triggered).

* Update ColorScheme.cpp
2018-10-15 11:30:40 +08:00
Luís Pereira c6880070e9 Don't use automatic string conversions
* Disables automatic conversions from 8-bit strings (char *) to unicode
  QStrings.
* Disables automatic conversion from QString to 8-bit strings (char *).
* Disables automatic conversions from QByteArray to const char * or const
  void *.
* Disables automatic conversions from QString (or char *) to QUrl.
* Use QStringBuilder for more efficient string creation.

It make us aware of string and encoding conversions.
2018-08-05 22:09:57 +08:00
Yen Chi Hsuan 586715accc Accept hex color strings as well (#101)
Fixes https://github.com/lxde/qterminal/issues/286
2016-12-02 22:26:54 +01:00
Igor 405ad67bdc Address review comments 2016-05-25 17:17:46 +03:00
Igor ad59d1dc5e Allow app to add custom color sheme locations 2016-05-25 11:15:14 +03:00
Igor ef451424d7 Backport konsole changes to fix memory leaks
Fixes #58
2016-05-18 14:01:45 +03:00
Jerome Leclanche 72ffc262eb Clean up trailing whitespaces 2015-07-09 20:22:48 +02:00
0xd34df00d 27e7860fd9 ColorSchemeManager::loadCustomColorScheme(const QString& path). 2014-05-21 00:08:13 +04:00
0xd34df00d 5042c7afc5 Unified schemeName() usage. 2014-05-21 00:07:59 +04:00
Petr Vanek 5d3ef34cc2 fixed #11 compile against Qt 5 (Qt4 and Qt5 supported and waguely tested) 2014-04-11 21:28:52 +02:00
Petr Vanek 6ad5d7070a merge changes from the experimental "bundle" repository 2011-06-22 13:12:21 +02:00