Commit 1e68b415 authored by Michael Reeves's avatar Michael Reeves

use ByteArray::fromRawData for clarity.

parent af16cafa
......@@ -169,10 +169,10 @@ int main(int argc, char *argv[])
//QApplication::setColorSpec( QApplication::ManyColor ); // Grab all 216 colors
const QByteArray& appName = QByteArray("kdiff3");
const QByteArray& appName = QByteArray::fromRawData("kdiff3", 6);
const QByteArray& appCatalog = appName;
const QString i18nName = i18n("kdiff3");
QByteArray appVersion = QByteArray( VERSION );
QByteArray appVersion = QByteArray::fromRawData( VERSION, sizeof(VERSION));
if ( sizeof(void*)==8 )
appVersion += " (64 bit)";
else if ( sizeof(void*)==4 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment