Code refactor
More flexible tool API Minor code format fixes Clipboard freeze fixed(?) Arrow correcly growing close to the start point Improve maintainability Add undo/redo stack
This commit is contained in:
@@ -20,7 +20,15 @@
|
||||
#include <QFileInfo>
|
||||
#include <QDir>
|
||||
|
||||
QStringList PathInfo::translations() {
|
||||
const QString PathInfo::whiteIconPath() {
|
||||
return ":/img/buttonIconsWhite/";
|
||||
}
|
||||
|
||||
const QString PathInfo::blackIconPath() {
|
||||
return ":/img/buttonIconsBlack/";
|
||||
}
|
||||
|
||||
QStringList PathInfo::translationsPaths() {
|
||||
QString binaryPath = QFileInfo(qApp->applicationFilePath())
|
||||
.absoluteFilePath();
|
||||
QString trPath = QDir::toNativeSeparators(binaryPath) + "translations";
|
||||
|
||||
Reference in New Issue
Block a user